From c15d27b0199efbf50054434b6d973d59c39409da Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 30 Nov 2021 04:21:19 +0000 Subject: [PATCH] update static/app.js. --- static/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index 3787c5e9f..9c4fc07c1 100644 --- a/static/app.js +++ b/static/app.js @@ -31,7 +31,7 @@ }); // 添加默认路由 - router.addRoute({path: '/', redirect: './static/template/pages/one.vue'}); + router.addRoute({path: '/', redirect: '/static/template/pages/one.vue'}); // 路由前置处理 router.beforeEach(function (to, fr, next) {