From f9f3fe537fadd3a5a77895d41e5e4a8862d7aa17 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 29 五月 2020 13:34:28 +0800
Subject: [PATCH] 2020-05-29

---
 src/tabviews/subtable/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx
index f90bfef..c11b488 100644
--- a/src/tabviews/subtable/index.jsx
+++ b/src/tabviews/subtable/index.jsx
@@ -16,7 +16,7 @@
 import SubTable from '@/tabviews/zshare/normalTable'
 import SubSearch from '@/tabviews/zshare/topSearch'
 import asyncComponent from '@/utils/asyncComponent'
-import asyncLoadComponent from '@/utils/asyncLoadComponent'
+import asyncSpinComponent from '@/utils/asyncSpinComponent'
 import NotFount from '@/components/404'
 
 import './index.scss'
@@ -24,7 +24,7 @@
 const { TabPane } = Tabs
 const SubAction = asyncComponent(() => import('@/tabviews/zshare/actionList'))
 const CardComponent = asyncComponent(() => import('@/tabviews/zshare/cardcomponent'))
-const SubTabTable = asyncLoadComponent(() => import('@/tabviews/subtabtable'))
+const SubTabTable = asyncSpinComponent(() => import('@/tabviews/subtabtable'))
 
 class SubTabViewTable extends Component {
   static propTpyes = {
@@ -942,7 +942,7 @@
 
     return (
       <div className="subtable" id={'subtable' + this.props.MenuID}>
-        {loadingview && <Spin size="large" />}
+        {loadingview && <Spin />}
         {searchlist && searchlist.length > 0 ?
           <SubSearch
             refreshdata={this.refreshbysearch}

--
Gitblit v1.8.0