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: ''