From 590a8198e9fcb503aaeb04f6d550c65bf30c0566 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 11 三月 2020 18:01:06 +0800
Subject: [PATCH] 2020-03-11

---
 src/tabviews/formtab/index.jsx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/formtab/index.jsx b/src/tabviews/formtab/index.jsx
index 0ef451a..2175cb1 100644
--- a/src/tabviews/formtab/index.jsx
+++ b/src/tabviews/formtab/index.jsx
@@ -10,20 +10,19 @@
 import enUS from '@/locales/en-US/main.js'
 import Utils from '@/utils/utils.js'
 import options from '@/store/options.js'
+import asyncComponent from '@/utils/asyncLoadComponent'
 
 import FormGroup from './formgroup'
 import FormAction from './actionList'
-import SubTable from '@/tabviews/subtable'
 import NotFount from '@/components/404'
 import {refreshTabView, modifyTabview} from '@/store/action'
 import './index.scss'
 
 const { TabPane } = Tabs
+const SubTable = asyncComponent(() => import('@/tabviews/subtable'))
 
 class NormalTable extends Component {
   static propTpyes = {
-    // MenuNo: PropTypes.string,    // 鑿滃崟鍙傛暟
-    // MenuName: PropTypes.string,  // 鑿滃崟鍙傛暟
     MenuID: PropTypes.string,       // 鑿滃崟Id
     param: PropTypes.any,           // 涓昏〃浼犻�掑弬鏁�
     refresh: PropTypes.any          // 鍒锋柊涓昏〃椤甸潰

--
Gitblit v1.8.0