From a859b8d276dcdc0a9a806498f4a6af845858e3a9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 24 十二月 2019 15:32:11 +0800 Subject: [PATCH] 2019-12-24 --- src/components/sidemenu/editthdmenu/index.jsx | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/components/sidemenu/editthdmenu/index.jsx b/src/components/sidemenu/editthdmenu/index.jsx index 3c26b4e..3fd0852 100644 --- a/src/components/sidemenu/editthdmenu/index.jsx +++ b/src/components/sidemenu/editthdmenu/index.jsx @@ -432,6 +432,10 @@ document.getElementById('root').style.overflowY = 'unset' } + tabHandleConfig = () => { + + } + handleSubConfig = (item, originMenu, config, type) => { if (type === 'button') { if (item.OpenType === 'pop') { @@ -454,6 +458,17 @@ tabview: 'SubTable' }) } + } else if (type === 'tabButton') { + // item.pageParam = '' + // if (config && config.type === 'Modal') { + // item.pageParam = config + // } + + // this.setState({ + // editMenu: originMenu, + // editAction: item, + // tabview: 'Modal' + // }) } } @@ -587,6 +602,7 @@ {this.state.tabview === 'SubTable' && <SubTable config={this.state.editTab} + menu={this.state.editMenu} handleConfig={this.handleConfig} handleSubConfig={this.handleSubConfig} /> -- Gitblit v1.8.0