修改部署包

This commit is contained in:
haozq 2025-10-28 18:14:50 +08:00
parent 02042c84c2
commit 5496de95b3
2 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,7 @@
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = '/index';
location.href = '/ldlz/index';
})
}).catch(() => {});
},

View File

@ -219,6 +219,7 @@ Router.prototype.replace = function push(location) {
}
export default new Router({
base:'ldlz',
mode: 'history', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes