修复:切换语言时浏览器页签标题语言不改变的问题;🐛 #157

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 17:24:01 +08:00
parent 7c95b310a9
commit b9d97474c1

View File

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