mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-05-20 15:33:37 +00:00
fix(form): 修复table-group-list中model属性可能为undefined导致的报错
This commit is contained in:
parent
aa2ee9fd4b
commit
12ce19fb02
@ -22,7 +22,7 @@ export const useAdd = (
|
||||
|
||||
if (!modelName) return false;
|
||||
|
||||
if (!props.model[modelName].length) {
|
||||
if (!props.model[modelName]?.length) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user