refactor: permission sholud passed without setting x-acl action (#3410)

This commit is contained in:
katherinehhh 2024-01-22 14:40:04 +08:00 committed by GitHub
parent 3b60ba2cf8
commit 5a09774cf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ export const InternalSubTable = observer(
}; };
return ( return (
<CollectionProvider name={options.target}> <CollectionProvider name={options.target}>
<ACLCollectionProvider actionPath={`${options.target}:${actionName}`}> <ACLCollectionProvider actionPath={`${options.target}:${actionName || 'view'}`}>
<FormLayout <FormLayout
className={css` className={css`
.ant-formily-item-bordered-none { .ant-formily-item-bordered-none {