feat: business type is now from api
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
Methapon2001 2025-07-11 10:45:33 +07:00
parent 30d2126161
commit 577da39cf0
6 changed files with 35 additions and 104 deletions

View file

@ -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
}}