Skip to content

Commit

Permalink
feat: 移除演示页面权限
Browse files Browse the repository at this point in the history
  • Loading branch information
lingting committed Dec 7, 2021
1 parent 23e5350 commit b892bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/sample/document/DocumentPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export default () => {
rowKey="id"
title="文档表,用于演示数据权限,可切换不同用户并授予不同角色体验效果(需退出重新登录)"
columns={dataColumns}
toolBarActions={[{ type: 'create', permission: 'sample:document:add' }]}
operateBar={[{ type: 'del', permission: 'sample:document:del' }]}
toolBarActions={[{ type: 'create', permission: false }]}
operateBar={[{ type: 'del', permission: false }]}
>
<ProFormText hidden name="id" />

Expand Down

0 comments on commit b892bd1

Please sign in to comment.