From 53ad041b13c45fd840a60fb9a4fcd890e6bdec81 Mon Sep 17 00:00:00 2001
From: WX <1377869194@qq.com>
Date: 星期四, 14 九月 2023 16:47:07 +0800
Subject: [PATCH] 修改列表没清空

---
 src/views/plotting/plottingInquire.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/views/plotting/plottingInquire.vue b/src/views/plotting/plottingInquire.vue
index 9cd78a5..539affe 100644
--- a/src/views/plotting/plottingInquire.vue
+++ b/src/views/plotting/plottingInquire.vue
@@ -251,6 +251,7 @@
 };
 //鐐规煡璇㈡帴鍙�
 const selectPoint = async (res) => {
+  resultList.value = [];
   const dt = await selectByPoint(res);
 
   if (dt.code !== 200) {
@@ -270,6 +271,7 @@
 };
 //闈㈡煡璇㈡帴鍙�
 const selectPolygon = async (res) => {
+  resultList.value = [];
   const dt = await selectByPolygon(res);
 
   dt.result.forEach((e) => {

--
Gitblit v1.9.3