修改代码
This commit is contained in:
parent
a56598888d
commit
67c5425b67
@ -168,7 +168,7 @@ class JMap {
|
||||
case orders.DELETE:
|
||||
oldShape = this.$shapeFactory.removeShape(shape);
|
||||
deps.forEach(shape => {
|
||||
this.$shapeFactory.updateSource(shape.model, {...action, shapeType: shapeType.Element});
|
||||
this.$shapeFactory.updateSource(shape.model, {...action, shapeType: shape.option.shapeType});
|
||||
this.$painter.remove(shape);
|
||||
});
|
||||
break;
|
||||
|
@ -79,8 +79,8 @@ export default {
|
||||
|
||||
this.$iscs = new Iscs({
|
||||
dom: document.getElementById(this.iscsId),
|
||||
draw: true,
|
||||
config: {
|
||||
draw: true,
|
||||
renderer: 'canvas',
|
||||
width: this.width,
|
||||
height: this.height
|
||||
|
Loading…
Reference in New Issue
Block a user