This commit is contained in:
wuyibo
2023-08-30 14:19:40 +08:00
parent 58f0d2913f
commit 3c42eee7bf
3 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = process.env.ENV_NG+'index';
location.href = '/prod/index';
})
}).catch(() => {});
}

View File

@@ -186,7 +186,7 @@ Router.prototype.push = function push(location) {
export default new Router({
mode: 'history', // 去掉url中的#
base: process.env.ENV_NG,
base: "/prod/",
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})