From fcfe65d70e411a2859cd07b6045acc3b4385590a Mon Sep 17 00:00:00 2001 From: toesbieya <1647775459@qq.com> Date: Wed, 26 Aug 2020 23:27:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E7=BB=84=E4=BB=B6=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/router/util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue/src/router/util.js b/vue/src/router/util.js index 694f156..9d4cba6 100644 --- a/vue/src/router/util.js +++ b/vue/src/router/util.js @@ -102,6 +102,7 @@ export function generateRoutes(jsonTree) { //路由页面懒加载 function lazyLoadView(path) { if (path.endsWith('/')) path += 'index' + else if (path.endsWith('Page')) path = path.replace('Page', '') else path = path.replace('Page.vue', '') const AsyncHandler = () => ({component: import(`@/view/${path}Page.vue`), loading: PageSkeleton})