Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 748f555

Browse files
committed
formatting
1 parent 5de2778 commit 748f555

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

quasar/src/layouts/primary/MainHeader.vue

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,16 @@
1515
<q-toolbar-title>Verbose Equals True</q-toolbar-title>
1616

1717
<span class="lang">
18-
<emoji :native="false" height="100%" :sheetSize="64" :emoji="lang.emoji" :size="28" />
18+
<emoji
19+
:native="false"
20+
height="100%"
21+
:sheetSize="64"
22+
:emoji="lang.emoji"
23+
:size="28"
24+
/>
1925
</span>
2026

21-
<q-select
22-
dark
23-
dense
24-
color="white"
25-
v-model="lang"
26-
:options="langs"
27-
/>
28-
27+
<q-select dark dense color="white" v-model="lang" :options="langs" />
2928

3029
<q-btn
3130
id="login"
@@ -74,15 +73,15 @@ export default {
7473
label: "Chinese",
7574
value: "cn-cn",
7675
emoji: ":flag-cn:"
77-
},
76+
}
7877
]
7978
};
8079
},
8180
components: { AuthModal },
8281
methods: {
83-
setLang(lang){
82+
setLang(lang) {
8483
console.log(lang);
85-
this.lang = lang
84+
this.lang = lang;
8685
},
8786
logout() {
8887
this.$store.dispatch("AUTH_LOGOUT").then(() => this.$router.push("/"));
@@ -93,7 +92,7 @@ export default {
9392
}
9493
},
9594
created() {
96-
this.$i18n.locale = 'en-us';
95+
this.$i18n.locale = "en-us";
9796
},
9897
watch: {
9998
lang(lang) {

0 commit comments

Comments
 (0)