fix: ImageUpload config

This commit is contained in:
xingyu4j
2025-06-20 14:50:47 +08:00
parent e2561593d9
commit 6df938431e
16 changed files with 18 additions and 44 deletions

View File

@@ -52,17 +52,11 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'ImageUpload',
fieldName: 'icon',
label: '等级图标',
componentProps: {
maxSize: 1,
},
},
{
component: 'ImageUpload',
fieldName: 'backgroundUrl',
label: '等级背景图',
componentProps: {
maxSize: 1,
},
},
{
fieldName: 'status',

View File

@@ -56,9 +56,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'ImageUpload',
fieldName: 'avatar',
label: '头像',
componentProps: {
maxSize: 1,
},
},
{
component: 'Input',