From f6626b05f1275cc2f8ca77f773d4f6a6af1b0a89 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 十一月 2022 16:11:55 +0800 Subject: [PATCH] 2022-11-21 --- src/templates/sharecomponent/settingcalcomponent/index.jsx | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/templates/sharecomponent/settingcalcomponent/index.jsx b/src/templates/sharecomponent/settingcalcomponent/index.jsx index 646acee..d1d7909 100644 --- a/src/templates/sharecomponent/settingcalcomponent/index.jsx +++ b/src/templates/sharecomponent/settingcalcomponent/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 { @@ -36,7 +35,6 @@ this.setState({ visible: true }) - MKEmitter.emit('modalStatus', '鏁版嵁婧�') } verifySubmit = () => { @@ -65,8 +63,6 @@ this.setState({loading: false, visible: false}) this.props.updateConfig({...config, ...res}) - - MKEmitter.emit('modalStatus', false) }, () => { this.setState({loading: false}) }) @@ -87,7 +83,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