Setting MultiLanguage using Typescript : adding i18n.d.ts for the compiler
This commit is contained in:
@@ -29,7 +29,7 @@ export default class Home extends Vue {
|
||||
}
|
||||
|
||||
get conta() {
|
||||
return GlobalStore.state.conta
|
||||
return GlobalStore.getters.conta
|
||||
}
|
||||
set conta(valore) {
|
||||
GlobalStore.actions.setConta(valore)
|
||||
|
||||
@@ -8,10 +8,12 @@
|
||||
|
||||
<q-field
|
||||
icon="wifi"
|
||||
:count="10"
|
||||
helper="Some helper"
|
||||
>
|
||||
<br>Conta = {{ conta }}
|
||||
<q-input
|
||||
v-model="conta"
|
||||
/>
|
||||
<br>{{$t('comp.Conta')}} = {{ conta }}
|
||||
</q-field>
|
||||
|
||||
<!--<q-btn
|
||||
|
||||
Reference in New Issue
Block a user