king
2020-03-11 590a8198e9fcb503aaeb04f6d550c65bf30c0566
src/tabviews/subtabtable/index.jsx
@@ -5,8 +5,8 @@
import { notification, Spin} from 'antd'
import moment from 'moment'
import Api from '@/api'
import asyncComponent from '@/utils/asyncComponent'
import SubTable from '@/tabviews/subtable/subTable'
import SubAction from '@/tabviews/tableshare/actionList'
import SubSearch from '@/tabviews/tableshare/topSearch'
import NotFount from '@/components/404'
import zhCN from '@/locales/zh-CN/main.js'
@@ -14,6 +14,8 @@
import Utils from '@/utils/utils.js'
import options from '@/store/options.js'
import './index.scss'
const SubAction = asyncComponent(() => import('@/tabviews/tableshare/actionList'))
class SubTabModalTable extends Component {
  static propTpyes = {
@@ -612,7 +614,8 @@
            dict={this.state.dict}
          /> : null
        }
        {actions &&
        {actions ?
          <div style={{minHeight: '45px'}}>
          <SubAction
            ref="subtabButton"
            type="subtab"
@@ -627,6 +630,7 @@
            refreshdata={this.refreshbyaction}
            gettableselected={this.gettableselected}
          />
          </div> : null
        }
        {columns &&
          <SubTable