一键生成停车标成功提示
This commit is contained in:
parent
5249c747fb
commit
30974166c3
@ -17,7 +17,6 @@ const coachNumOptions = [
|
||||
];
|
||||
|
||||
function onSubmit() {
|
||||
console.log(formData.coachNum, formData.length);
|
||||
const spda = useDrawStore()
|
||||
.getDrawApp()
|
||||
.getDrawAssistant<StopPositionDraw>(StopPosition.Type);
|
||||
|
@ -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}】个停车标`,
|
||||
});
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user