fix(data-templates): filter out some fileds

This commit is contained in:
Rairn 2023-04-16 19:14:12 +08:00
parent 11fb951b55
commit 76faa9e30c

View File

@ -71,6 +71,9 @@ export const useCollectionState = (currentCollectionName: string) => {
if (!field.interface) {
return;
}
if (['sort', 'password', 'sequence'].includes(field.type)) {
return;
}
const node = {
type: 'duplicate',
tag: compile(field.uiSchema?.title) || field.name,