mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vue3.git
synced 2025-12-30 09:32:26 +00:00
!feat: 表单设计器-部门选择器增加可选返回部门id或者部门名称 #199
This commit is contained in:
@@ -57,7 +57,7 @@ export const useApiSelect = (option: ApiSelectProps) => {
|
||||
type: String,
|
||||
default: 'label'
|
||||
},
|
||||
// 返回值类型(用于部门选择器等):id 返回ID,name 返回名称
|
||||
// 返回值类型(用于部门选择器等):id 返回 ID,name 返回名称
|
||||
returnType: {
|
||||
type: String,
|
||||
default: 'id'
|
||||
|
||||
@@ -65,7 +65,7 @@ export const useFormCreateDesigner = async (designer: Ref) => {
|
||||
title: '返回值类型',
|
||||
value: 'id',
|
||||
options: [
|
||||
{ label: '部门ID', value: 'id' },
|
||||
{ label: '部门编号', value: 'id' },
|
||||
{ label: '部门名称', value: 'name' }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user