From c0327fdd2f11ff5d2d1746714438131817820bc1 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Sat, 2 Apr 2022 14:50:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20index.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index bc69db2..5d8edf9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,7 +11,7 @@ const routes = [ { path: "/demo", name: "demo", - component: import('@/views/demo.vue').then(e=>{ + component: import('@/views/demo.vue').then(e=>{ // 引入文件路径错误,会导致不能热更新 e.default.name='demo' //组件命名 return e }),