|
@@ -163,7 +163,7 @@ export class EditScence extends SGraphScene {
|
|
|
ID: uuid(),
|
|
|
Name: this._legend.Name,
|
|
|
GraphElementType: this._legend.Type,
|
|
|
- Num: 0,
|
|
|
+ Num: 1,
|
|
|
GraphElementId: this._legend.Id,
|
|
|
AttachObjectIds: [],
|
|
|
Type: "Line",
|
|
@@ -198,7 +198,7 @@ export class EditScence extends SGraphScene {
|
|
|
ID: uuid(),
|
|
|
Name: this._legend.Name,
|
|
|
GraphElementType: this._legend.Type,
|
|
|
- Num: 0,
|
|
|
+ Num: 1,
|
|
|
GraphElementId: this._legend.Id,
|
|
|
AttachObjectIds: [],
|
|
|
Type: "Zone",
|
|
@@ -234,7 +234,7 @@ export class EditScence extends SGraphScene {
|
|
|
ID: uuid(),
|
|
|
/** 名称 */
|
|
|
Name: '图片',
|
|
|
- Num: 3,
|
|
|
+ Num: 1,
|
|
|
/** 图标(Image),线类型(Line) */
|
|
|
Type: "Image",
|
|
|
/** 位置 */
|
|
@@ -296,7 +296,7 @@ export class EditScence extends SGraphScene {
|
|
|
ID: uuid(),
|
|
|
Name: this._legend.Name,
|
|
|
GraphElementType: this._legend.Type,
|
|
|
- Num: 0,
|
|
|
+ Num: 1,
|
|
|
GraphElementId: this._legend.Id,
|
|
|
AttachObjectIds: [],
|
|
|
Pos: { X: event.x, Y: event.y },
|