|
@@ -1,8 +1,9 @@
|
|
import { useAjax } from '@/Hook/useAjax';
|
|
import { useAjax } from '@/Hook/useAjax';
|
|
import { apiLongBookReadLogListOfPage } from '@/services/distribution/readLog';
|
|
import { apiLongBookReadLogListOfPage } from '@/services/distribution/readLog';
|
|
-import { ActionType, PageContainer, ProTable } from '@ant-design/pro-components';
|
|
|
|
|
|
+import { ActionType, PageContainer } from '@ant-design/pro-components';
|
|
import { useRef } from 'react';
|
|
import { useRef } from 'react';
|
|
import { columns } from './tableConfig';
|
|
import { columns } from './tableConfig';
|
|
|
|
+import MyProTable from '@/components/MyProTable';
|
|
|
|
|
|
const Page: React.FC = () => {
|
|
const Page: React.FC = () => {
|
|
const actionRef = useRef<ActionType>();
|
|
const actionRef = useRef<ActionType>();
|
|
@@ -12,7 +13,7 @@ const Page: React.FC = () => {
|
|
|
|
|
|
return (
|
|
return (
|
|
<PageContainer>
|
|
<PageContainer>
|
|
- <ProTable<any, any>
|
|
|
|
|
|
+ <MyProTable<any, any>
|
|
headerTitle={'长篇小说阅读记录列表'}
|
|
headerTitle={'长篇小说阅读记录列表'}
|
|
actionRef={actionRef}
|
|
actionRef={actionRef}
|
|
rowKey={(r) => r.id}
|
|
rowKey={(r) => r.id}
|