From 063b983daaf51a7f1e8677bde1e9c0e618866c91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 二月 2020 10:30:19 +0800 Subject: [PATCH] 2020-02-21 --- src/templates/comtableconfig/actionform/index.jsx | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/src/templates/comtableconfig/actionform/index.jsx b/src/templates/comtableconfig/actionform/index.jsx index 02b61bf..9adcb57 100644 --- a/src/templates/comtableconfig/actionform/index.jsx +++ b/src/templates/comtableconfig/actionform/index.jsx @@ -73,7 +73,6 @@ let _intertype = '' let _position = '' let _tabType = '' - let _linkTab = '' let _options = null this.props.formlist.forEach(form => { @@ -85,13 +84,10 @@ _position = form.initVal } else if (form.key === 'tabType') { _tabType = form.initVal - } else if (form.key === 'linkTab') { - _linkTab = form.initVal } }) let _tabs = this.props.tabs.filter(tab => tab.type === _tabType) - let initTab = _tabs.filter(tab => tab.uuid === _linkTab)[0] if (_opentype === 'innerpage') { // 鏂伴〉闈紙鍐呴儴锛夛紝鍙�夋ā鏉� _options = ['label', 'Ot', 'OpenType', 'pageTemplate', 'icon', 'class', 'position'] @@ -151,9 +147,6 @@ }, ..._tabs ] - if (!initTab) { - item.initVal = '' - } } item.hidden = !_options.includes(item.key) return item -- Gitblit v1.8.0