|
@@ -263,7 +263,9 @@ export class SPolylineItem extends SGraphItem {
|
|
this.status = SItemStatus.Normal;
|
|
this.status = SItemStatus.Normal;
|
|
this.releaseItem();
|
|
this.releaseItem();
|
|
} else if (this.status == SItemStatus.Create) {
|
|
} else if (this.status == SItemStatus.Create) {
|
|
- this.status = SItemStatus.Edit;
|
|
|
|
|
|
+ this.status = SItemStatus.Normal;
|
|
|
|
+ this.releaseItem();
|
|
|
|
+ this.$emit("finishCreated");
|
|
}
|
|
}
|
|
this.$emit("onDoubleClick", event);
|
|
this.$emit("onDoubleClick", event);
|
|
return true;
|
|
return true;
|