fix: ImageUpload config
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -56,9 +56,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
component: 'ImageUpload',
|
||||
fieldName: 'avatar',
|
||||
label: '头像',
|
||||
componentProps: {
|
||||
maxSize: 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
|
||||
Reference in New Issue
Block a user