src/components/tabview/index.jsx
@@ -52,7 +52,7 @@ handleTabview = (e, menu) => { e.stopPropagation() // 关闭tab页,重新选择显示页 let tabs = JSON.parse(JSON.stringify(this.state.tabviews)) let tabs = fromJS(this.state.tabviews).toJS() tabs = tabs.filter(tab => { return tab.MenuID !== menu.MenuID }) @@ -78,7 +78,7 @@ changeTab = (e, menu) => { e.stopPropagation() // 窗口切换 let tabs = JSON.parse(JSON.stringify(this.state.tabviews)) let tabs = fromJS(this.state.tabviews).toJS() tabs = tabs.map(tab => { tab.selected = false