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