chore: add english comment
This commit is contained in:
@@ -8,11 +8,11 @@ const AccessPage: React.FC = () => {
|
||||
<PageContainer
|
||||
ghost
|
||||
header={{
|
||||
title: '权限示例'
|
||||
title: 'permission example'
|
||||
}}
|
||||
>
|
||||
<Access accessible={access.canSeeAdmin}>
|
||||
<Button>只有 Admin 可以看到这个按钮</Button>
|
||||
<Button>Only Admin can see this button</Button>
|
||||
</Access>
|
||||
</PageContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user