From 989fe5cdf0548d6700fb590d2b0972f9477f36cd Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 25 Nov 2025 19:53:12 +0800 Subject: [PATCH] =?UTF-8?q?!feat:=20=E8=A1=A8=E5=8D=95=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8-=E9=83=A8=E9=97=A8=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=AF=E9=80=89=E8=BF=94=E5=9B=9E=E9=83=A8?= =?UTF-8?q?=E9=97=A8id=E6=88=96=E8=80=85=E9=83=A8=E9=97=A8=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=20#199?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FormCreate/src/components/useApiSelect.tsx | 2 +- src/components/FormCreate/src/useFormCreateDesigner.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FormCreate/src/components/useApiSelect.tsx b/src/components/FormCreate/src/components/useApiSelect.tsx index 7ca02c0a9..89a7e8dbb 100644 --- a/src/components/FormCreate/src/components/useApiSelect.tsx +++ b/src/components/FormCreate/src/components/useApiSelect.tsx @@ -57,7 +57,7 @@ export const useApiSelect = (option: ApiSelectProps) => { type: String, default: 'label' }, - // 返回值类型(用于部门选择器等):id 返回ID,name 返回名称 + // 返回值类型(用于部门选择器等):id 返回 ID,name 返回名称 returnType: { type: String, default: 'id' diff --git a/src/components/FormCreate/src/useFormCreateDesigner.ts b/src/components/FormCreate/src/useFormCreateDesigner.ts index a0e18ca2c..4e87e432e 100644 --- a/src/components/FormCreate/src/useFormCreateDesigner.ts +++ b/src/components/FormCreate/src/useFormCreateDesigner.ts @@ -65,7 +65,7 @@ export const useFormCreateDesigner = async (designer: Ref) => { title: '返回值类型', value: 'id', options: [ - { label: '部门ID', value: 'id' }, + { label: '部门编号', value: 'id' }, { label: '部门名称', value: 'name' } ] }