Commit a2703eb2 by zhaochengxiang

bug fix

parent e22431f5
import { useEffect, useState, useContext, useMemo } from 'react';
import { Modal, Select, Pagination } from 'antd';
import { Modal, Select, Pagination, Button } from 'antd';
import ResizeableTable from '../../ResizeableTable';
import { AppContext } from '../../../../App';
......@@ -203,12 +203,19 @@ const FC = (props) => {
visible={visible}
title='API数据源映射配置'
width='80%'
bodyStyle={{ padding: '15px', overflowX: 'auto' }}
onCancel={() => {
setPagination({...pagination, pageNum: 1});
onCancel && onCancel();
}}
footer={null}
>
<div className='mb-3'>
<Button onClick={() => {
getDatasourcesByEnv()
getApiDataSourceMappingList()
}}>刷新</Button>
</div>
<ResizeableTable
rowKey='id'
columns={columns}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment