feat:【antd/ele】useFormSchema 的 placeholder

This commit is contained in:
YunaiV
2025-11-19 10:40:59 +08:00
parent 6b1a054e11
commit b67c24021c
28 changed files with 92 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
picker: 'year',
format: 'YYYY',
valueFormat: 'YYYY',
placeholder: '请选择年份',
},
defaultValue: new Date().getFullYear().toString(),
},
@@ -50,6 +51,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
valueField: 'id',
childrenField: 'children',
treeDefaultExpandAll: true,
placeholder: '请选择归属部门',
},
defaultValue: userStore.userInfo?.deptId,
},