king
2020-03-18 cb4c8706eb48183ac8875d92d4a950ad6b6675a2
src/tabviews/subtabtable/index.jsx
@@ -11,15 +11,12 @@
import Utils from '@/utils/utils.js'
import options from '@/store/options.js'
// import asyncComponent from '@/utils/asyncComponent'
import SubTable from '@/tabviews/subtable/subTable'
import SubTable from '@/tabviews/tableshare/normalTable'
import SubAction from '@/tabviews/tableshare/actionList'
import SubSearch from '@/tabviews/tableshare/topSearch'
import NotFount from '@/components/404'
import './index.scss'
// const SubAction = asyncComponent(() => import('@/tabviews/tableshare/actionList'))
class SubTabModalTable extends Component {
  static propTpyes = {
@@ -611,11 +608,6 @@
    this.refs.subtabButton.actionTrigger(btn, record)
  }
  /**
   * @description 表格Id变化
   */
  handleTableId = () => {}
  UNSAFE_componentWillMount () {
    // 组件加载时,获取菜单数据
    this.loadconfig()
@@ -669,6 +661,7 @@
        {columns &&
          <SubTable
            ref="subTable"
            tableId=""
            dict={this.state.dict}
            MenuID={this.props.MenuID}
            setting={setting}
@@ -679,7 +672,7 @@
            logcolumns={this.state.logcolumns}
            refreshdata={this.refreshbytable}
            buttonTrigger={this.buttonTrigger}
            handleTableId={this.handleTableId}
            handleTableId={() => {}}
          />
        }
        {viewlost ? <NotFount msg={this.state.lostmsg} /> : null}