From 278de9016a7885c15706d61631db704df73a84fc Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 28 Apr 2022 17:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E6=94=AF=E6=8C=81base=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/router.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/router/router.js b/src/router/router.js index 02eb68904..7a44bb5d9 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -3127,7 +3127,8 @@ init: function () { this.$router = this._router = BI.Router.$router = $router = new VueRouter({ mode: this.options.mode, - routes: this.options.routes + routes: this.options.routes, + base: this.options.base, }); this.$router.beforeEach(function (to, from, next) { if (to.matched.length === 0) {