fix(ui): 统一表格筛选分页和用量明细,升级 ESLint
This commit is contained in:
@@ -296,7 +296,7 @@ const OrgDsRules = ({ orgId, isSuperAdmin }) => {
|
||||
<Table
|
||||
columns={customColumns}
|
||||
dataSource={customRules}
|
||||
pagination={false}
|
||||
pagination={{ resetOnDataChange: true }}
|
||||
rowKey='id'
|
||||
size='small'
|
||||
scroll={{ x: 'max(100%, 900px)' }}
|
||||
@@ -320,7 +320,7 @@ const OrgDsRules = ({ orgId, isSuperAdmin }) => {
|
||||
<Table
|
||||
columns={platformColumns}
|
||||
dataSource={platformRules.map((r, i) => ({ ...r, _key: i }))}
|
||||
pagination={false}
|
||||
pagination={{ resetOnDataChange: true }}
|
||||
rowKey='_key'
|
||||
size='small'
|
||||
scroll={{ x: 'max(100%, 640px)' }}
|
||||
|
||||
Reference in New Issue
Block a user