From 76fbfca5f5b3f41614483c12c46d616c131d2aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Wed, 5 Nov 2025 17:43:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=9B=BD=E5=AE=B6=E5=9C=B0?= =?UTF-8?q?=E5=8C=BA=E4=BB=A3=E7=A0=81=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Form/src/components/SelectAreaCascader.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/components/Form/src/components/SelectAreaCascader.vue b/src/components/Form/src/components/SelectAreaCascader.vue index 472c2ed..2296fb8 100644 --- a/src/components/Form/src/components/SelectAreaCascader.vue +++ b/src/components/Form/src/components/SelectAreaCascader.vue @@ -18,6 +18,7 @@ import { LoadingOutlined } from '@ant-design/icons-vue'; import { useI18n } from '/@/hooks/web/useI18n'; import { getAreaList } from '/@/api/mdm/CountryRegion'; + import { requestMagicApi } from '/@/api/magicApi'; interface Option { value: string; @@ -59,6 +60,17 @@ if (isChange.value) return; if (val) { + let arr = val.split(',') + console.log(arr, 88888) + const resData = await requestMagicApi({ + method: "get", + url: "mdm/getRegionByCode", + body: undefined, + query: { + code: arr[arr.length-1] + } + }); + console.log(resData, 'resData') emitData.value = val.split(','); } else { emitData.value = [];