mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
修复:切换语言时浏览器页签标题语言不改变的问题;🐛 #157
fix: the problem that the title language of the browser tab does not change when switching languages;
This commit is contained in:
parent
7c95b310a9
commit
b9d97474c1
@ -31,6 +31,7 @@ export default {
|
|||||||
},
|
},
|
||||||
lang(val) {
|
lang(val) {
|
||||||
this.setLanguage(val)
|
this.setLanguage(val)
|
||||||
|
this.setHtmlTitle()
|
||||||
},
|
},
|
||||||
$route() {
|
$route() {
|
||||||
this.setHtmlTitle()
|
this.setHtmlTitle()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user