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}】个停车标`, + }); } } /**