一键生成停车标成功提示

This commit is contained in:
Yuan 2023-12-01 16:50:56 +08:00
parent 5249c747fb
commit 30974166c3
2 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,6 @@ const coachNumOptions = [
];
function onSubmit() {
console.log(formData.coachNum, formData.length);
const spda = useDrawStore()
.getDrawApp()
.getDrawAssistant<StopPositionDraw>(StopPosition.Type);

View File

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