From 90671325090a58b0dfc91dac6a84b1c2a09eaac7 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 27 三月 2025 17:29:27 +0800 Subject: [PATCH] 修复绘制轨迹线时,上一组数据没有清除的问题 --- src/components/search/SearchBar.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/components/search/SearchBar.vue b/src/components/search/SearchBar.vue index 6c0dad6..a6fe820 100644 --- a/src/components/search/SearchBar.vue +++ b/src/components/search/SearchBar.vue @@ -104,6 +104,10 @@ handleClick() { this.$emit('search', { ...this.formSearch, mission: this.mission }); } + }, + created() { + initCount = 0; + initEvents = []; } }; </script> -- Gitblit v1.9.3