4
0
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:
chenghongxing 2020-11-22 16:54:10 +08:00
parent d638eaa6bf
commit f74d08248e

View File

@ -31,6 +31,7 @@ export default {
},
lang(val) {
this.setLanguage(val)
this.setHtmlTitle()
},
$route() {
this.setHtmlTitle()