This commit is contained in:
2025-11-05 17:47:57 +08:00
9 changed files with 33 additions and 22 deletions

View File

@ -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 = [];