修改规范

This commit is contained in:
zzy 2022-08-24 16:28:33 +08:00
parent a5040d8541
commit 55b6eb931c
9 changed files with 13508 additions and 11971 deletions

View File

@ -142,6 +142,7 @@ const Table = <T extends Record<string, any>>(props: PropsType) => {
], ],
}; };
}, [searchProps, columnsProps]); }, [searchProps, columnsProps]);
const handleBatchDelete = (action: any) => { const handleBatchDelete = (action: any) => {
if (selectedRows.length === 0) { if (selectedRows.length === 0) {
message.warn('请选择要操作的项'); message.warn('请选择要操作的项');

View File

@ -69,6 +69,7 @@ const CollectionAddressList = () => {
<div> <div>
<Table <Table
columns={columns} columns={columns}
search={false}
rowKey="id" rowKey="id"
toolBarActions={[ toolBarActions={[
{ {

View File

@ -31,11 +31,6 @@ const WithdrawList = () => {
hideInSearch: true, hideInSearch: true,
ellipsis: true, ellipsis: true,
}, },
{
title: '游戏币类型',
dataIndex: 'bc_type',
width: '10%',
},
{ {
title: '类型', title: '类型',
dataIndex: 'type', dataIndex: 'type',

View File

@ -176,7 +176,7 @@
.ant-pro-table-list-toolbar-container { .ant-pro-table-list-toolbar-container {
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
padding: 20px 0 20px 0; padding: 0 0 20px 0;
.ant-pro-table-list-toolbar-left { .ant-pro-table-list-toolbar-left {
.ant-space-item { .ant-space-item {
margin-bottom: 16px; margin-bottom: 16px;

25470
yarn.lock

File diff suppressed because it is too large Load Diff