fix: 🐛 修复多图时候传递null报错的bug
修复多图时候传递null报错的bug
This commit is contained in:
@@ -197,7 +197,7 @@ watch(
|
||||
return;
|
||||
}
|
||||
|
||||
if (modelValue.length <= 0) {
|
||||
if (!modelValue || modelValue.length <= 0) {
|
||||
fileList.value = [];
|
||||
viewFileList.value = [];
|
||||
valFileList.value = [];
|
||||
|
||||
Reference in New Issue
Block a user