From 5f89bf6a859fe59daa23b50321fb8bfd3892d704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=BB=B6=E7=A6=8F?= <> Date: Thu, 18 May 2023 16:33:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=88=87=E6=8D=A2=E6=97=B6=E5=88=A0=E9=99=A4=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E7=82=B9=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/overview.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/overview.component.ts b/src/views/overview.component.ts index b413f5d..8dcdf2e 100644 --- a/src/views/overview.component.ts +++ b/src/views/overview.component.ts @@ -90,6 +90,9 @@ export default class OverViewComponent extends BaseComponent { this.addCustom(this.viewLayer[this.currentEvent.id],true); this.currentEvent = null; } + if(this.currentWanning){ + this.player.api.customObject.delete(this.currentWanning.id) + } this.resetMap(); } }