nili 8 months ago
parent
commit
8a122d716e
  1. 2
      dist/index.html
  2. 1
      dist/p__AdminManagement.a1779b54.async.js
  3. 1
      dist/p__AdminManagement.ea9c12e1.async.js
  4. 2
      dist/umi.01ef40c4.js
  5. 2
      src/pages/AdminManagement.tsx

2
dist/index.html

@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.e8d45b1c.js"></script>
<script src="/umi.01ef40c4.js"></script>
</body></html>

1
dist/p__AdminManagement.a1779b54.async.js

File diff suppressed because one or more lines are too long

1
dist/p__AdminManagement.ea9c12e1.async.js

File diff suppressed because one or more lines are too long

2
dist/umi.e8d45b1c.js → dist/umi.01ef40c4.js

File diff suppressed because one or more lines are too long

2
src/pages/AdminManagement.tsx

@ -215,7 +215,7 @@ const AdminManagement = () => {
<div>
<Button onClick={handleNew}></Button>
<Tabs centered style={{ backgroundColor: 'white', padding: '20px' }}>
{role < 3 && (
{currentUser?.role && currentUser.role < 3 && (
<TabPane tab="游戏主" key="1">
<Table columns={columns} dataSource={data.filter((x) => x.role === 3)} />
</TabPane>

Loading…
Cancel
Save