修改部署包
This commit is contained in:
parent
02042c84c2
commit
5496de95b3
|
|
@ -120,7 +120,7 @@
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$store.dispatch('LogOut').then(() => {
|
||||
location.href = '/index';
|
||||
location.href = '/ldlz/index';
|
||||
})
|
||||
}).catch(() => {});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -219,6 +219,7 @@ Router.prototype.replace = function push(location) {
|
|||
}
|
||||
|
||||
export default new Router({
|
||||
base:'ldlz',
|
||||
mode: 'history', // 去掉url中的#
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
routes: constantRoutes
|
||||
|
|
|
|||
Loading…
Reference in New Issue