From 3f79b6ee9f7159f92d468185f2460cb19d20ece2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 30 一月 2022 20:49:19 +0800 Subject: [PATCH] 2022-01-30 --- src/templates/zshare/customscript/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/customscript/index.jsx b/src/templates/zshare/customscript/index.jsx index d322307..2caa82b 100644 --- a/src/templates/zshare/customscript/index.jsx +++ b/src/templates/zshare/customscript/index.jsx @@ -9,6 +9,7 @@ import Api from '@/api' import CodeMirror from '@/templates/zshare/codemirror' import asyncComponent from '@/utils/asyncComponent' +import MKEmitter from '@/utils/events.js' import './index.scss' const { Paragraph } = Typography @@ -260,6 +261,8 @@ editItem: null }) + MKEmitter.emit('editLineId', values.uuid) + this.props.scriptsUpdate(_scripts) this.props.form.setFieldsValue({ sql: '' -- Gitblit v1.8.0