From ca35226a1c519fd5e37cba5d14de5d6a854a0a1d Mon Sep 17 00:00:00 2001 From: hy Date: Mon, 20 Apr 2026 13:31:47 +0800 Subject: [PATCH] fix: repair region assist selects --- apps/src/views/system/region-config.vue | 61 ++++++++----------------- 1 file changed, 20 insertions(+), 41 deletions(-) diff --git a/apps/src/views/system/region-config.vue b/apps/src/views/system/region-config.vue index 9882052..df40cb7 100644 --- a/apps/src/views/system/region-config.vue +++ b/apps/src/views/system/region-config.vue @@ -40,7 +40,6 @@ import { RadioGroup, Row, Select, - SelectOption, Space, Table, TabPane, @@ -320,6 +319,16 @@ const withdrawalWaysSelectOptions = BANK_CARD_TYPES.map((item) => ({ label: item.name, value: item.value, })); +const assistTypeOptions = REGION_ASSIST_TYPES.map((item) => ({ + label: item.name, + value: item.value, +})); +const assistRegionOptions = computed(() => + regionOptions.value.map((item) => ({ + label: item.regionName || item.regionCode || item.id, + value: item.id, + })), +); watch( sysOriginOptions, @@ -696,35 +705,19 @@ loadCountryOptions(); + /> + /> @@ -911,34 +904,20 @@ loadCountryOptions(); >
- + /> - + />