fix: แก้การแสดง i18n
This commit is contained in:
parent
abc052f71f
commit
4171960e9b
1 changed files with 7 additions and 1 deletions
|
|
@ -55,7 +55,13 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
|
||||||
:class="{ 'dark-text': $q.dark.isActive }"
|
:class="{ 'dark-text': $q.dark.isActive }"
|
||||||
:style="`color: ${customerLabel === 'CORP' ? 'var(--purple-8)' : 'var(--green-9)'} `"
|
:style="`color: ${customerLabel === 'CORP' ? 'var(--purple-8)' : 'var(--green-9)'} `"
|
||||||
>
|
>
|
||||||
{{ $t(customerLabel) }}
|
{{
|
||||||
|
$t(
|
||||||
|
customerLabel === 'CORP'
|
||||||
|
? 'customerLegalEntity'
|
||||||
|
: 'customerNaturalPerson',
|
||||||
|
)
|
||||||
|
}}
|
||||||
</text>
|
</text>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue