修改 技术领域
This commit is contained in:
@@ -301,6 +301,15 @@
|
||||
localStorage.setItem('language', 'en-us')
|
||||
break
|
||||
}
|
||||
router.beforeEach((to,from,next)=>{
|
||||
console.log(to)
|
||||
console.log(from)
|
||||
return
|
||||
if(to.meta.title){
|
||||
document.title=to.meta.title
|
||||
}
|
||||
next()
|
||||
})
|
||||
store.dispatch('GetPermissionList').then(res => {
|
||||
this.$root.Bus.$emit('switchLanguage', localeval)
|
||||
this.isLoading = false
|
||||
|
||||
Reference in New Issue
Block a user