king
2020-06-03 d3172b799eccdf7fa69050a0f2d596309bd78059
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')
    }
  }