From 06404e701a89955958cbf56213e2eec618d8644d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 16 十二月 2020 18:36:16 +0800 Subject: [PATCH] 2020-12-16 --- src/tabviews/custom/components/table/normal-table/index.jsx | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/tabviews/custom/components/table/normal-table/index.jsx b/src/tabviews/custom/components/table/normal-table/index.jsx index bf158e0..ddb6a74 100644 --- a/src/tabviews/custom/components/table/normal-table/index.jsx +++ b/src/tabviews/custom/components/table/normal-table/index.jsx @@ -11,11 +11,10 @@ import UtilsDM from '@/utils/utils-datamanage.js' import asyncComponent from '@/utils/asyncComponent' import MKEmitter from '@/utils/events.js' - -import MainSearch from '@/tabviews/zshare/topSearch' import './index.scss' // 閫氱敤缁勪欢 +const MainSearch = asyncComponent(() => import('@/tabviews/zshare/topSearch')) const MainAction = asyncComponent(() => import('@/tabviews/zshare/actionList')) const MainTable = asyncComponent(() => import('@/tabviews/custom/components/share/normalTable')) @@ -472,14 +471,8 @@ return ( <div className="custom-normal-table"> - {searchlist && searchlist.length > 0 ? - <MainSearch - BID={BID} - dict={this.state.dict} - searchlist={searchlist} - menuType={this.props.menuType} - refreshdata={this.refreshbysearch} - /> : null + {searchlist && searchlist.length ? + <MainSearch BID={BID} searchlist={searchlist} menuType={this.props.menuType} refreshdata={this.refreshbysearch}/> : null } <MainAction BID={BID} -- Gitblit v1.8.0