修改 技术领域

This commit is contained in:
qq787203167
2022-03-04 17:21:22 +08:00
parent 69ee107368
commit d411e1a5f5
2 changed files with 22 additions and 0 deletions
@@ -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