mirror of
https://github.com/iczer/vue-antd-admin.git
synced 2025-04-06 03:57:44 +08:00
修复:切换语言时浏览器页签标题语言不改变的问题;🐛
fix: the problem that the title language of the browser tab does not change when switching languages;
This commit is contained in:
parent
d638eaa6bf
commit
f74d08248e
@ -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