```
feat(hjm/query): 增加图片上传数量限制至20张将图片上传的最大数量从5张调整为20张,以满足用户上传更多图片的需求。```
This commit is contained in:
@@ -186,9 +186,9 @@ const Query = () => {
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (fileList.length >= 5) {
|
if (fileList.length >= 20) {
|
||||||
Taro.showToast({
|
Taro.showToast({
|
||||||
title: '最多只能上传5张图片',
|
title: '最多只能上传20张图片',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user