From fa68a6c3053441e624d995d752efcf017aaad3c7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 15 十月 2021 22:20:06 +0800 Subject: [PATCH] 2021-10-15 --- src/templates/zshare/unattended/index.jsx | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/templates/zshare/unattended/index.jsx b/src/templates/zshare/unattended/index.jsx index 5376c3a..48b6c50 100644 --- a/src/templates/zshare/unattended/index.jsx +++ b/src/templates/zshare/unattended/index.jsx @@ -41,10 +41,13 @@ } submit = () => { - // let config = fromJS(this.props.config).toJS() + const { config } = this.props this.settingRef.handleConfirm().then(res => { - + this.setState({ + visible: false + }) + this.props.updateConfig({...config, autoMatic: res}) }) } -- Gitblit v1.8.0