修改中英文切换

This commit is contained in:
qq787203167
2022-03-03 16:14:02 +08:00
parent 0f102d9be7
commit ae812d0318
6 changed files with 95 additions and 176 deletions
+5
View File
@@ -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: '欢迎',