修改细节问题
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
|
||||
import enUS from 'ant-design-vue/es/locale/en_US'
|
||||
import 'moment/locale/zh-cn'
|
||||
import { generateIndexRouter } from '@/utils/util'
|
||||
import store from '../../store'
|
||||
import router from '../../router'
|
||||
|
||||
@@ -301,15 +302,6 @@
|
||||
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