1
0
mirror of synced 2026-05-20 17:28:42 +08:00

fix(form): 修复table-group-list中model属性可能为undefined导致的报错

This commit is contained in:
roymondchen
2026-05-18 20:07:49 +08:00
parent aa2ee9fd4b
commit 12ce19fb02

View File

@@ -22,7 +22,7 @@ export const useAdd = (
if (!modelName) return false;
if (!props.model[modelName].length) {
if (!props.model[modelName]?.length) {
return true;
}