From 5891206952e2ff63e87aed2f47df5324b019d32e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 25 十月 2022 00:39:38 +0800 Subject: [PATCH] 2022-10-25 --- src/menu/datasource/index.jsx | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/menu/datasource/index.jsx b/src/menu/datasource/index.jsx index 569dbba..52a1544 100644 --- a/src/menu/datasource/index.jsx +++ b/src/menu/datasource/index.jsx @@ -5,7 +5,6 @@ import { SettingOutlined } from '@ant-design/icons' import VerifyCard from './verifycard' -import MKEmitter from '@/utils/events.js' import './index.scss' class DataSource extends Component { @@ -140,8 +139,6 @@ visible: true, mainSearch: search }) - - MKEmitter.emit('modalStatus', '鏁版嵁婧�') } verifySubmit = () => { @@ -203,8 +200,6 @@ this.setState({loading: false, visible: false}) this.props.updateConfig({...config, ...res}) - - MKEmitter.emit('modalStatus', false) }, () => { this.setState({loading: false}) }) @@ -226,7 +221,7 @@ okText="鎻愪氦" onOk={this.verifySubmit} confirmLoading={loading} - onCancel={() => { MKEmitter.emit('modalStatus', false);this.setState({ visible: false }) }} + onCancel={() => {this.setState({ visible: false }) }} destroyOnClose > <VerifyCard -- Gitblit v1.8.0