From cb4c8706eb48183ac8875d92d4a950ad6b6675a2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 18 三月 2020 11:01:11 +0800 Subject: [PATCH] 2020-03-18 --- src/tabviews/subtabtable/index.jsx | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx index c8c0d50..b57a970 100644 --- a/src/tabviews/subtabtable/index.jsx +++ b/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} -- Gitblit v1.8.0