修改中英文切换
This commit is contained in:
@@ -329,6 +329,11 @@
|
||||
})
|
||||
},
|
||||
loginSuccess () {
|
||||
let langCn = localStorage.language
|
||||
// 默认中文
|
||||
if (!langCn) {
|
||||
localStorage.setItem('language', 'zh-cn')
|
||||
}
|
||||
this.$router.push({ path: "/dashboard/analysis" }).catch((res)=>{})
|
||||
this.$notification.success({
|
||||
message: '欢迎',
|
||||
|
||||
Reference in New Issue
Block a user