feat:【antd/ele】useFormSchema 的 placeholder
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user