feat: business type is now from api
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
30d2126161
commit
577da39cf0
6 changed files with 35 additions and 104 deletions
|
|
@ -27,6 +27,7 @@ defineEmits<{
|
|||
}>();
|
||||
|
||||
type ExclusiveProps = {
|
||||
lang?: string;
|
||||
codeOnly?: boolean;
|
||||
selectFirstValue?: boolean;
|
||||
branchVirtual?: boolean;
|
||||
|
|
@ -92,7 +93,7 @@ function setDefaultValue() {
|
|||
>
|
||||
<template #selected-item="{ opt }">
|
||||
{{
|
||||
$i18n.locale === 'tha'
|
||||
(lang ?? $i18n.locale) !== 'eng'
|
||||
? opt.name + ' ' + opt.name
|
||||
: opt.nameEN + ' ' + opt.nameEN
|
||||
}}
|
||||
|
|
@ -102,7 +103,7 @@ function setDefaultValue() {
|
|||
<q-item v-bind="scope.itemProps">
|
||||
<span class="row items-center">
|
||||
{{
|
||||
$i18n.locale === 'tha'
|
||||
(lang ?? $i18n.locale) !== 'eng'
|
||||
? opt.name + ' ' + opt.name
|
||||
: opt.nameEN + ' ' + opt.nameEN
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue