fix: 🐛 修复图片\文件上传之后删除失败的bug
修复图片\文件上传之后删除失败的bug
This commit is contained in:
@@ -206,6 +206,7 @@ watch(
|
|||||||
|
|
||||||
if (newVal.length <= 0) {
|
if (newVal.length <= 0) {
|
||||||
fileList.value = [];
|
fileList.value = [];
|
||||||
|
valFileList.value = [];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -159,6 +159,8 @@ watch(
|
|||||||
|
|
||||||
if (newVal.length <= 0) {
|
if (newVal.length <= 0) {
|
||||||
fileList.value = [];
|
fileList.value = [];
|
||||||
|
viewFileList.value = [];
|
||||||
|
valFileList.value = [];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user