fix: 🐛 修复多图时候传递null报错的bug
修复多图时候传递null报错的bug
This commit is contained in:
1 parent
7cb40b93ed
commit
88abfec6aa
1 file changed
+1
-1
@@ -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 = [];
|
||||||
|
|||||||
Reference in new issue
Block a user