feat: 增加 useVbenForm 样式,去掉data.ts 中 字段class

This commit is contained in:
xingyu4j
2025-04-27 14:59:53 +08:00
parent 2a805f560f
commit 1c2da07ded
37 changed files with 168 additions and 93 deletions

View File

@@ -40,7 +40,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'InputNumber',
componentProps: {
min: 0,
class: 'w-full',
controlsPosition: 'right',
placeholder: '请输入显示顺序',
},
@@ -97,7 +96,6 @@ export function useAssignDataPermissionFormSchema(): VbenFormSchema[] {
fieldName: 'dataScope',
label: '权限范围',
componentProps: {
class: 'w-full',
options: getDictOptions(DICT_TYPE.SYSTEM_DATA_SCOPE, 'number'),
},
},