主子表:确认列表编辑的支持组件情况

This commit is contained in:
YunaiV committed 2023-11-10 23:01:36 +08:00
1 parent 9f9e0f8bda
commit 55f6e4ca25
2 files changed
+66 -4

No files matched your search

@@ -144,6 +144,8 @@ watch(
} else if (isArray(props.modelValue)) {
// 情况2:字符串
files.concat(props.modelValue)
} else if (props.modelValue === undefined) {
// 情况3:undefined 不处理
} else {
throw new Error('不支持的 modelValue 类型')
}