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/subtableconfig/actionform/index.jsx | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/src/templates/subtableconfig/actionform/index.jsx b/src/templates/subtableconfig/actionform/index.jsx index 8335a8f..415be65 100644 --- a/src/templates/subtableconfig/actionform/index.jsx +++ b/src/templates/subtableconfig/actionform/index.jsx @@ -89,7 +89,6 @@ let _intertype = '' let _position = '' let _tabType = '' - let _linkTab = '' let _options = null this.props.formlist.forEach(form => { @@ -101,13 +100,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 === 'popview') { _options = ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'tabType', 'linkTab', 'popClose'] @@ -159,9 +155,6 @@ }, ..._tabs ] - if (!initTab) { - item.initVal = '' - } } else if (item.key === 'OpenType') { item.options = [ { -- Gitblit v1.8.0