From 0c1c59933e95c4c691d6ba3d11bf4aef98fe9e8d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 15 四月 2020 15:37:44 +0800 Subject: [PATCH] 2020-04-15 --- src/templates/zshare/verifycardexcelin/customscript/index.jsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/verifycardexcelin/customscript/index.jsx b/src/templates/zshare/verifycardexcelin/customscript/index.jsx index c1fa819..d436de3 100644 --- a/src/templates/zshare/verifycardexcelin/customscript/index.jsx +++ b/src/templates/zshare/verifycardexcelin/customscript/index.jsx @@ -137,10 +137,11 @@ this.setState({loading: true}) Api.getLocalConfig(param).then(res => { if (res.status) { - this.props.scriptsChange(values) this.setState({ loading: false, editItem: null + }, () => { + this.props.scriptsChange(values) }) this.props.form.setFieldsValue({ sql: '' -- Gitblit v1.8.0