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/managetable/index.jsx | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tabviews/managetable/index.jsx b/src/tabviews/managetable/index.jsx index a45b20e..35d258b 100644 --- a/src/tabviews/managetable/index.jsx +++ b/src/tabviews/managetable/index.jsx @@ -10,18 +10,20 @@ 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 asyncComponent from '@/utils/asyncComponent' +import asyncLoadComponent from '@/utils/asyncLoadComponent' import {refreshTabView, modifyTabview} from '@/store/action' import MainTable from '@/tabviews/commontable/mainTable' -import MainAction from '@/tabviews/tableshare/actionList' import MainSearch from '@/tabviews/tableshare/topSearch' -import SubTable from '@/tabviews/subtable' import NotFount from '@/components/404' import './index.scss' +const MainAction = asyncComponent(() => import('@/tabviews/tableshare/actionList')) +const SubTable = asyncLoadComponent(() => import('@/tabviews/subtable')) const SubTabTable = asyncComponent(() => import('@/tabviews/subtabtable')) const FormTab = asyncComponent(() => import('@/tabviews/formtab')) + const { TabPane } = Tabs const { TreeNode } = Tree const { Paragraph } = Typography -- Gitblit v1.8.0