feat: 表单支持slot形式的自定义组件

This commit is contained in:
gaoyunqi
2024-03-06 18:33:49 +08:00
parent ebd405c3e5
commit 8b0921f1dc
4 changed files with 10 additions and 2 deletions

View File

@ -262,7 +262,7 @@ export function usePermission() {
}
} else {
const field = schema.field || schema.dataIndex || schema.key;
return formAuth?.includes(field);
return formAuth?.includes(field) || schema.ignorePermission;
}
}