!feat: 表单设计器-部门选择器增加可选返回部门id或者部门名称 #199

This commit is contained in:
YunaiV
2025-11-25 19:53:12 +08:00
parent ccb55080a1
commit 989fe5cdf0
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ export const useApiSelect = (option: ApiSelectProps) => {
type: String,
default: 'label'
},
// 返回值类型用于部门选择器等id 返回IDname 返回名称
// 返回值类型用于部门选择器等id 返回 IDname 返回名称
returnType: {
type: String,
default: 'id'

View File

@@ -65,7 +65,7 @@ export const useFormCreateDesigner = async (designer: Ref) => {
title: '返回值类型',
value: 'id',
options: [
{ label: '部门ID', value: 'id' },
{ label: '部门编号', value: 'id' },
{ label: '部门名称', value: 'name' }
]
}