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

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

View File

@@ -206,6 +206,7 @@ watch(
if (newVal.length <= 0) {
fileList.value = [];
valFileList.value = [];
return;
}

View File

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