From 845d5f32403cfa5aa6ef456a631a357a3ddfc836 Mon Sep 17 00:00:00 2001 From: hupeng Date: Fri, 25 Oct 2024 11:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E5=9F=8E?= =?UTF-8?q?=E5=B8=82=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/crmcustomer/CustomerForm.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/crm/crmcustomer/CustomerForm.vue b/src/views/crm/crmcustomer/CustomerForm.vue index 216aeb7..9a6c7af 100644 --- a/src/views/crm/crmcustomer/CustomerForm.vue +++ b/src/views/crm/crmcustomer/CustomerForm.vue @@ -218,6 +218,7 @@ const open = async (type: string, id?: number) => { formType.value = type resetForm() areaList.value = await AreaApi.getAreaTree() + cityArr.value = [] // 修改时,设置数据 if (id) { formLoading.value = true @@ -227,6 +228,7 @@ const open = async (type: string, id?: number) => { cityArr.value.push(formData.value.province) cityArr.value.push(formData.value.city) cityArr.value.push(formData.value.area) + console.log('cityArr:',cityArr.value) } finally { formLoading.value = false }