fix:【framework】文件、图片上传的类型限制多选配置不正确的问题,https://t.zsxq.com/Pf1m7
This commit is contained in:
@@ -37,7 +37,7 @@ export function useUploadFileRule() {
|
||||
{ label: 'pdf', value: 'pdf' },
|
||||
],
|
||||
props: {
|
||||
multiple: true,
|
||||
mode: 'multiple',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@ export function useUploadImageRule() {
|
||||
{ label: 'image/x-icon', value: 'image/x-icon' },
|
||||
],
|
||||
props: {
|
||||
multiple: false,
|
||||
mode: 'multiple',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@ export function useUploadImagesRule() {
|
||||
{ label: 'image/x-icon', value: 'image/x-icon' },
|
||||
],
|
||||
props: {
|
||||
multiple: true,
|
||||
mode: 'multiple',
|
||||
maxNumber: 5,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -47,7 +47,7 @@ export function useUploadImageRule() {
|
||||
{ label: 'image/x-icon', value: 'image/x-icon' },
|
||||
],
|
||||
props: {
|
||||
multiple: false,
|
||||
multiple: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user