From 30974166c348b2401098faf7bce69dd85bd9f3f0 Mon Sep 17 00:00:00 2001 From: Yuan Date: Fri, 1 Dec 2023 16:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E9=94=AE=E7=94=9F=E6=88=90=E5=81=9C?= =?UTF-8?q?=E8=BD=A6=E6=A0=87=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../draw-app/dialogs/stopPositionGenerateDialog.vue | 1 - src/graphics/stopPosition/StopPositionDrawAssistant.ts | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/draw-app/dialogs/stopPositionGenerateDialog.vue b/src/components/draw-app/dialogs/stopPositionGenerateDialog.vue index a8ce183..3cb68f5 100644 --- a/src/components/draw-app/dialogs/stopPositionGenerateDialog.vue +++ b/src/components/draw-app/dialogs/stopPositionGenerateDialog.vue @@ -17,7 +17,6 @@ const coachNumOptions = [ ]; function onSubmit() { - console.log(formData.coachNum, formData.length); const spda = useDrawStore() .getDrawApp() .getDrawAssistant(StopPosition.Type); diff --git a/src/graphics/stopPosition/StopPositionDrawAssistant.ts b/src/graphics/stopPosition/StopPositionDrawAssistant.ts index b83a90d..10a46db 100644 --- a/src/graphics/stopPosition/StopPositionDrawAssistant.ts +++ b/src/graphics/stopPosition/StopPositionDrawAssistant.ts @@ -158,6 +158,10 @@ export class StopPositionDraw extends GraphicDrawAssistant< this.app.addGraphicAndRecord(...stopPositions); this.app.updateSelected(...stopPositions); this.app.makeGraphicCenterShow(stopPositions[0]); + $q.notify({ + type: 'positive', + message: `操作成功,共生成【${stopPositions.length}】个停车标`, + }); } } /**