From e1cee96b38805bcccf48e7bcb9d296f2bc54c720 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 24 一月 2025 11:10:32 +0800 Subject: [PATCH] 2025-01-24 --- src/menu/modalconfig/controller.jsx | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/menu/modalconfig/controller.jsx b/src/menu/modalconfig/controller.jsx index 6cae222..5a7c777 100644 --- a/src/menu/modalconfig/controller.jsx +++ b/src/menu/modalconfig/controller.jsx @@ -35,6 +35,8 @@ config: fromJS(config).toJS(), btn: fromJS(btn).toJS() }) + + window.GLOB.formId = '' } handleBack = () => { @@ -47,13 +49,7 @@ handleSave = (modal) => { const { config, btn } = this.state - MKEmitter.emit('submitModal', config, btn, modal) - - this.setState({ - visible: false, - config: null, - btn: null - }) + MKEmitter.emit('submitModal', config.uuid, btn.uuid, modal) } render () { -- Gitblit v1.8.0