2023-11-1-dist
This commit is contained in:
@@ -352,6 +352,9 @@ export default defineComponent({
|
||||
},
|
||||
setLocale(){
|
||||
// window.location.reload();
|
||||
let name = 'home'
|
||||
let noRefresh = true;
|
||||
this.$router.push({ name: name, params: { noRefresh: noRefresh } });
|
||||
this.locale == 'zh-cn'?this.locale = 'en':this.locale = 'zh-cn'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user