|
@@ -16,7 +16,6 @@ import {
|
|
BetaSchemaForm,
|
|
BetaSchemaForm,
|
|
PageContainer,
|
|
PageContainer,
|
|
ProFormInstance,
|
|
ProFormInstance,
|
|
- ProTable,
|
|
|
|
} from '@ant-design/pro-components';
|
|
} from '@ant-design/pro-components';
|
|
import { useModel } from '@umijs/max';
|
|
import { useModel } from '@umijs/max';
|
|
import { Button, Drawer, message, Popconfirm, Space } from 'antd';
|
|
import { Button, Drawer, message, Popconfirm, Space } from 'antd';
|
|
@@ -24,6 +23,7 @@ import { useEffect, useRef, useState } from 'react';
|
|
import formConfig from './formConfig';
|
|
import formConfig from './formConfig';
|
|
import Item from './item';
|
|
import Item from './item';
|
|
import { columns } from './tableConfig';
|
|
import { columns } from './tableConfig';
|
|
|
|
+import MyProTable from '@/components/MyProTable';
|
|
const wordCountRanges: any = {
|
|
const wordCountRanges: any = {
|
|
'': { start: null, end: null }, // 全部
|
|
'': { start: null, end: null }, // 全部
|
|
'0-2': { start: 0, end: 2 * 10000 },
|
|
'0-2': { start: 0, end: 2 * 10000 },
|
|
@@ -132,7 +132,7 @@ const Page: React.FC = () => {
|
|
};
|
|
};
|
|
return (
|
|
return (
|
|
<PageContainer title={false} tabProps={{ type: 'card' }}>
|
|
<PageContainer title={false} tabProps={{ type: 'card' }}>
|
|
- <ProTable<any, any>
|
|
+ <MyProTable<any, any>
|
|
// 实例
|
|
// 实例
|
|
actionRef={actionRef}
|
|
actionRef={actionRef}
|
|
// 标题
|
|
// 标题
|