From e6b3799597caa0f796dbcc3dc6a6042fbee3aff7 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 6 Dec 2022 13:41:09 +0800 Subject: [PATCH] 2022-12-6 --- src/views/customer/map.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/customer/map.vue b/src/views/customer/map.vue index 1af08cc..9cb9b54 100644 --- a/src/views/customer/map.vue +++ b/src/views/customer/map.vue @@ -85,7 +85,12 @@ export default { }, async areaClick(e){ - this.selector.area_id = e.id + console.log(e) + if(e.value == '市本级'){ + this.selector.area_id = '' + }else{ + this.selector.area_id = e.id + } await this.getCustomers() this.draw() },