From 2f54651464414059b224181d713af2980e76d095 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 09 十月 2022 19:35:39 +0800 Subject: [PATCH] 2020-10-09 --- src/menu/sysinterface/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/menu/sysinterface/index.jsx b/src/menu/sysinterface/index.jsx index 797dc2c..c24c4b0 100644 --- a/src/menu/sysinterface/index.jsx +++ b/src/menu/sysinterface/index.jsx @@ -6,6 +6,7 @@ import Utils from '@/utils/utils.js' import asyncComponent from '@/utils/asyncComponent' +import MKEmitter from '@/utils/events.js' import './index.scss' const DataSource = asyncComponent(() => import('@/menu/datasource')) @@ -180,8 +181,13 @@ return record }) + this.setState({ interfaces }) this.props.updateConfig({...config, interfaces}) + + setTimeout(() => { + MKEmitter.emit('mkUpdateInter', record, {delay: 0}) + }, 10) } addInterface = () => { -- Gitblit v1.8.0