From d5c3340757ae00a2ad617c4241dfd3792f36e036 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 14 十二月 2020 18:23:42 +0800 Subject: [PATCH] 2020-12-14 --- src/tabviews/custom/components/table/normal-table/index.jsx | 29 +++++++++++++---------------- 1 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/tabviews/custom/components/table/normal-table/index.jsx b/src/tabviews/custom/components/table/normal-table/index.jsx index 01e5a09..bf158e0 100644 --- a/src/tabviews/custom/components/table/normal-table/index.jsx +++ b/src/tabviews/custom/components/table/normal-table/index.jsx @@ -9,15 +9,15 @@ import zhCN from '@/locales/zh-CN/main.js' import enUS from '@/locales/en-US/main.js' import UtilsDM from '@/utils/utils-datamanage.js' -import asyncSpinComponent from '@/utils/asyncSpinComponent' +import asyncComponent from '@/utils/asyncComponent' import MKEmitter from '@/utils/events.js' import MainSearch from '@/tabviews/zshare/topSearch' import './index.scss' // 閫氱敤缁勪欢 -const MainAction = asyncSpinComponent(() => import('@/tabviews/zshare/actionList')) -const MainTable = asyncSpinComponent(() => import('@/tabviews/custom/components/share/normalTable')) +const MainAction = asyncComponent(() => import('@/tabviews/zshare/actionList')) +const MainTable = asyncComponent(() => import('@/tabviews/custom/components/share/normalTable')) class NormalTable extends Component { static propTpyes = { @@ -481,19 +481,16 @@ refreshdata={this.refreshbysearch} /> : null } - <div className="commontable-main-action"> - <MainAction - BID={BID} - setting={setting} - actions={actions} - dict={this.state.dict} - BData={this.state.BData} - columns={config.columns} - selectedData={selectedData} - refreshdata={this.refreshbyaction} - getexceloutparam={this.getexceloutparam} - /> - </div> + <MainAction + BID={BID} + setting={setting} + actions={actions} + BData={this.state.BData} + columns={config.columns} + selectedData={selectedData} + refreshdata={this.refreshbyaction} + getexceloutparam={this.getexceloutparam} + /> <div className="main-table-box"> <MainTable setting={setting} -- Gitblit v1.8.0