From bc6dfad4c9de7bbb299f48a853dc98d323fafb84 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 11 Oct 2025 00:57:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90infra=20=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E8=AE=BE=E6=96=BD=E3=80=91update=20label=20and=20dependencies?= =?UTF-8?q?=20in=20data.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/infra/fileConfig/data.ts | 2 +- apps/web-antd/src/views/mall/trade/config/data.ts | 2 +- apps/web-ele/src/views/infra/fileConfig/data.ts | 2 +- apps/web-ele/src/views/mall/product/comment/data.ts | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web-antd/src/views/infra/fileConfig/data.ts b/apps/web-antd/src/views/infra/fileConfig/data.ts index 808d48a0a..efe5823f8 100644 --- a/apps/web-antd/src/views/infra/fileConfig/data.ts +++ b/apps/web-antd/src/views/infra/fileConfig/data.ts @@ -37,7 +37,7 @@ export function useFormSchema(): VbenFormSchema[] { rules: 'required', dependencies: { triggerFields: ['id'], - show: (formValues) => !formValues.id, + disabled: (formValues) => formValues.id, }, }, { diff --git a/apps/web-antd/src/views/mall/trade/config/data.ts b/apps/web-antd/src/views/mall/trade/config/data.ts index 8be8f8a23..564f9722c 100644 --- a/apps/web-antd/src/views/mall/trade/config/data.ts +++ b/apps/web-antd/src/views/mall/trade/config/data.ts @@ -209,7 +209,7 @@ export const schema: VbenFormSchema[] = [ }, { fieldName: 'brokerageWithdrawFeePercent', - label: '提现手续费(元)', + label: '提现手续费(%)', component: 'InputNumber', componentProps: { min: 0, diff --git a/apps/web-ele/src/views/infra/fileConfig/data.ts b/apps/web-ele/src/views/infra/fileConfig/data.ts index 63be6a9aa..c882e3acc 100644 --- a/apps/web-ele/src/views/infra/fileConfig/data.ts +++ b/apps/web-ele/src/views/infra/fileConfig/data.ts @@ -37,7 +37,7 @@ export function useFormSchema(): VbenFormSchema[] { rules: 'required', dependencies: { triggerFields: ['id'], - show: (formValues) => !formValues.id, + disabled: (formValues) => formValues.id, }, }, { diff --git a/apps/web-ele/src/views/mall/product/comment/data.ts b/apps/web-ele/src/views/mall/product/comment/data.ts index f8a07a022..2b412546d 100644 --- a/apps/web-ele/src/views/mall/product/comment/data.ts +++ b/apps/web-ele/src/views/mall/product/comment/data.ts @@ -58,6 +58,7 @@ export function useFormSchema(): VbenFormSchema[] { }, rules: 'required', }, + // TODO @xingyu:ele 版本,rate 会无法使用。 { fieldName: 'descriptionScores', label: '描述星级',