From 7449eee8fa9f8a251e9c4e9162030f1e004bae0f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 15 十月 2020 09:17:04 +0800 Subject: [PATCH] 2020-10-15 --- src/templates/treepageconfig/index.jsx | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/templates/treepageconfig/index.jsx b/src/templates/treepageconfig/index.jsx index 35f1c09..1fd9e94 100644 --- a/src/templates/treepageconfig/index.jsx +++ b/src/templates/treepageconfig/index.jsx @@ -29,7 +29,6 @@ class ComTableConfig extends Component { static propTpyes = { menu: PropTypes.any, - optionLibs: PropTypes.any, reloadmenu: PropTypes.func, handleView: PropTypes.func } @@ -46,7 +45,6 @@ originMenu: null, // 鍘熷鑿滃崟 delTabs: [], // 鍒犻櫎鏍囩鍒楄〃 tabviews: [], // 鎵�鏈夋爣绛鹃〉 - optionLibs: null, // 鑷畾涔変笅鎷夐�夐」搴� activeKey: '0', // 榛樿灞曞紑鍩烘湰淇℃伅 pasteContent: null, // 绮樿创閰嶇疆淇℃伅 openEdition: '' // 缂栬緫鐗堟湰鏍囪锛岄槻姝㈠浜烘搷浣� @@ -58,7 +56,7 @@ * 2銆佽缃搷浣滅被鍨嬨�佸師濮嬭彍鍗曚俊鎭紙姣忔淇濆瓨鍚庨噸缃級銆佸凡浣跨敤琛ㄥ強鍩烘湰淇℃伅琛ㄥ崟 */ UNSAFE_componentWillMount () { - const { menu, optionLibs } = this.props + const { menu } = this.props let _LongParam = menu.LongParam let _config = '' @@ -105,7 +103,6 @@ config: _config, openEdition: menu.open_edition || '', activeKey: menu.activeKey || '0', - optionLibs: optionLibs, originMenu: fromJS(_config).toJS() }) } @@ -554,7 +551,7 @@ */ setSubConfig = (item) => { const { menu } = this.props - const { config, originMenu, optionLibs, activeKey, openEdition } = this.state + const { config, originMenu, activeKey, openEdition } = this.state if (config.isAdd) { // menuID涓嶅瓨鍦ㄦ椂锛屼负鏂板缓鑿滃崟锛屾彁绀鸿彍鍗曞皻鏈繚瀛� notification.warning({ @@ -600,7 +597,6 @@ _Menu.open_edition = openEdition // 鏇存柊鐗堟湰鍙� let param = { - optionLibs: optionLibs, editMenu: _Menu, editTab: item, tabConfig: null, -- Gitblit v1.8.0