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