fix: 🐛 修复图片\文件上传之后删除失败的bug

修复图片\文件上传之后删除失败的bug
This commit is contained in:
胡少翔 committed 2024-09-14 09:37:59 +08:00
1 parent 5572ab8942
commit f09973ddb7
2 files changed
+3

No files matched your search

+1
View File
@@ -206,6 +206,7 @@ watch(
if (newVal.length <= 0) { if (newVal.length <= 0) {
fileList.value = []; fileList.value = [];
valFileList.value = [];
return; return;
} }
+2
View File
@@ -159,6 +159,8 @@ watch(
if (newVal.length <= 0) { if (newVal.length <= 0) {
fileList.value = []; fileList.value = [];
viewFileList.value = [];
valFileList.value = [];
return; return;
} }