From 000ff61dd8a88eb875048e6a3deca8679d75df18 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 29 八月 2020 11:29:33 +0800 Subject: [PATCH] 2020-08-29 --- src/menu/menuform/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu/menuform/index.jsx b/src/menu/menuform/index.jsx index 16bbb7e..a08e50b 100644 --- a/src/menu/menuform/index.jsx +++ b/src/menu/menuform/index.jsx @@ -58,7 +58,7 @@ } }) - this.props.initMenuList(fromJS(menulist).toJS()) + this.props.initMenuList({fstMenuList: fromJS(menulist).toJS(), fstMenuId: result.FstIDSeleted}) this.setState({ fstMenuId: result.FstIDSeleted, @@ -105,8 +105,8 @@ }, () => { let _id = smenulist[0] ? smenulist[0].value : '' this.props.form.setFieldsValue({parentId: _id}) + this.props.updateConfig({...config, fstMenuId: value, parentId: _id}) }) - this.props.updateConfig({...config, fstMenuId: value}) } else if (key === 'parentId') { this.props.updateConfig({...config, parentId: value}) } -- Gitblit v1.8.0