控制
This commit is contained in:
@@ -447,14 +447,14 @@ export default function UserRolePage() {
|
||||
: <Tag color="red">停用</Tag>
|
||||
},
|
||||
{
|
||||
title: '是否有设备权限', dataIndex: 'deviceOperatePerm', width: 80,
|
||||
title: '是否有设备权限', dataIndex: 'deviceOperatePerm', width: 140,
|
||||
render: (_, s) => s.deviceOperatePerm == true
|
||||
? <Tag color="green">有权限</Tag>
|
||||
: <Tag color="red">无权限</Tag>
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
width: 220,
|
||||
width: 300,
|
||||
fixed: 'right',
|
||||
render: (_, r) => (
|
||||
<Space wrap>
|
||||
@@ -478,7 +478,6 @@ export default function UserRolePage() {
|
||||
onChange={(p) => setUserPagination({ ...userPagination, pageNum: p.current!, pageSize: p.pageSize! })}
|
||||
bordered
|
||||
size="middle"
|
||||
// 👇 下面这行是修复不自适应的关键
|
||||
scroll={{ x: 'max-content' }}
|
||||
/>
|
||||
</TabPane>
|
||||
|
||||
Reference in New Issue
Block a user