样式优化整合
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import ProTable, { ActionType } from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { getList, publishQuestForm, stopQuestForm, recallQuestForm, deleteQuestForm } from './service';
|
||||
import { Button, Card, message, Modal, Popconfirm, Spin, Table, Tabs } from 'antd';
|
||||
import TabPane from '@ant-design/pro-card/lib/components/TabPane';
|
||||
@ -275,7 +276,7 @@ const Index: React.FC<{}> = () => {
|
||||
});
|
||||
})
|
||||
}
|
||||
pagination={{ defaultPageSize: 10, showSizeChanger: false }}//默认显示条数
|
||||
{...tableProps}
|
||||
options = {false}
|
||||
/>
|
||||
</Card>
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React, { useEffect, useState, useRef } from 'react';
|
||||
import ProTable, { ActionType } from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { getQuestItems, getQuestText, pageQuestAnswer, addRemarkQuestAnswer, addFlagQuestAnswer, deleteQuestAnswer, pageUser, cancelFlagQuestAnswer } from './service';
|
||||
import { Button, Card, Form, message, Modal, Pagination, Popconfirm, Radio, Spin, Table, Tabs } from 'antd';
|
||||
import TabPane from '@ant-design/pro-card/lib/components/TabPane';
|
||||
@ -357,7 +358,7 @@ const Index: React.FC<{}> = () => {
|
||||
});
|
||||
})
|
||||
}
|
||||
pagination={{ defaultPageSize: 10, showSizeChanger: false }}//默认显示条数
|
||||
{...tableProps}
|
||||
options={false}
|
||||
search={false}
|
||||
toolBarRender={() => [
|
||||
@ -410,7 +411,7 @@ const Index: React.FC<{}> = () => {
|
||||
});
|
||||
})
|
||||
}
|
||||
pagination={{ defaultPageSize: 10, showSizeChanger: false }}//默认显示条数
|
||||
{...tableProps}
|
||||
options={false}
|
||||
search={false}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user