Skip to content

Commit b892bd1

Browse files
committed
feat: 移除演示页面权限
1 parent 23e5350 commit b892bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/sample/document/DocumentPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export default () => {
5252
rowKey="id"
5353
title="文档表,用于演示数据权限,可切换不同用户并授予不同角色体验效果(需退出重新登录)"
5454
columns={dataColumns}
55-
toolBarActions={[{ type: 'create', permission: 'sample:document:add' }]}
56-
operateBar={[{ type: 'del', permission: 'sample:document:del' }]}
55+
toolBarActions={[{ type: 'create', permission: false }]}
56+
operateBar={[{ type: 'del', permission: false }]}
5757
>
5858
<ProFormText hidden name="id" />
5959

0 commit comments

Comments
 (0)