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

@@ -137,9 +137,6 @@ export function useFormSchema(): VbenFormSchema[] {
fieldName: 'brokeragePosterUrls',
label: '分销海报图',
component: 'ImageUpload',
componentProps: {
maxSize: 1,
},
dependencies: {
triggerFields: ['type'],
show: (values) => values.type === 'brokerage',

View File

@@ -31,9 +31,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'ImageUpload',
fieldName: 'logo',
label: '公司 logo',
componentProps: {
maxSize: 1,
},
rules: 'required',
},
{

View File

@@ -26,9 +26,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'ImageUpload',
fieldName: 'logo',
label: '门店logo',
componentProps: {
maxSize: 1,
},
rules: 'required',
},
{