fix(form): 修复table-group-list中model属性可能为undefined导致的报错
This commit is contained in:
@@ -22,7 +22,7 @@ export const useAdd = (
|
||||
|
||||
if (!modelName) return false;
|
||||
|
||||
if (!props.model[modelName].length) {
|
||||
if (!props.model[modelName]?.length) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user