调整房表生成国籍选项

This commit is contained in:
andy committed 2026-07-30 13:14:43 +08:00
1 parent 3c9430ac5f
commit 99fb919158
6 files changed
+36 -19

No files matched your search

@@ -222,11 +222,12 @@
>
{{ t('roomingList.nationalityPlaceholder') }}
</option>
<option value="KR">
{{ t('roomingList.nationalityKr') }}
</option>
<option value="CHN">
{{ t('roomingList.nationalityChn') }}
<option
v-for="nationality in nationalityOptions"
:key="nationality"
:value="nationality"
>
{{ nationality }}
</option>
</select>
<span
@@ -329,7 +330,8 @@ interface BackendDetailMessage {
}
const allowedPaymentTypes = new Set(['BTQR', 'CA'])
const allowedNationalities = new Set(['KR', 'CHN'])
const nationalityOptions = ['KR', 'CN', 'TH', 'MM', 'RS', 'TW']
const allowedNationalities = new Set(nationalityOptions)
const { t, te } = useI18n()
const authStore = useAuthStore()