This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
quasar/src/layouts/primary Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 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 ) {
You can’t perform that action at this time.
0 commit comments