fix: 🐛 修复多图时候传递null报错的bug
修复多图时候传递null报错的bug
This commit is contained in:
@@ -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