fix: 🐛 修复多图时候传递null报错的bug

修复多图时候传递null报错的bug
This commit is contained in:
Theo committed 2025-01-15 17:37:33 +08:00
1 parent 7cb40b93ed
commit 88abfec6aa
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ watch(
return; return;
} }
if (modelValue.length <= 0) { if (!modelValue || modelValue.length <= 0) {
fileList.value = []; fileList.value = [];
viewFileList.value = []; viewFileList.value = [];
valFileList.value = []; valFileList.value = [];