From d3172b799eccdf7fa69050a0f2d596309bd78059 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 03 六月 2020 18:48:46 +0800 Subject: [PATCH] 2020-06-03 --- src/tabviews/subtable/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx index c78e7bc..d15bd1c 100644 --- a/src/tabviews/subtable/index.jsx +++ b/src/tabviews/subtable/index.jsx @@ -12,7 +12,6 @@ import options from '@/store/options.js' import { modifyTabview } from '@/store/action' -import ChartComponent from '@/tabviews/zshare/chartcomponent' import SubTable from '@/tabviews/zshare/normalTable' import SubSearch from '@/tabviews/zshare/topSearch' import asyncComponent from '@/utils/asyncComponent' @@ -24,6 +23,7 @@ const { TabPane } = Tabs const SubAction = asyncComponent(() => import('@/tabviews/zshare/actionList')) const CardComponent = asyncComponent(() => import('@/tabviews/zshare/cardcomponent')) +const ChartComponent = asyncSpinComponent(() => import('@/tabviews/zshare/chartcomponent')) const SubTabTable = asyncSpinComponent(() => import('@/tabviews/subtabtable')) class SubTabViewTable extends Component { @@ -341,8 +341,7 @@ search: Utils.initMainSearch(config.search) // 鎼滅储鏉′欢鍒濆鍖栵紙鍚湁鏃堕棿鏍煎紡锛岄渶瑕佽浆鍖栵級 }, () => { this.improveSearch() - - if (config.setting.onload !== 'false' && (!Tab.supMenu || BID) && valid) { // 鍒濆鍖栧彲鍔犺浇 + if (config.setting.onload !== 'false' && (!Tab.supMenu || BID || Tab.isTreeNode) && valid) { // 鍒濆鍖栧彲鍔犺浇 this.loadmaindata() } }) @@ -801,6 +800,7 @@ this.reloadtable() this.props.handleMainTable('equaltab') }else if (btn.execSuccess === 'mainline' && type === 'success') { + this.reloadtable() this.props.handleMainTable('mainline') } } -- Gitblit v1.8.0