diff --git a/src/iscs/shape/group.js b/src/iscs/shape/group.js index 984be25f6..f7413cfad 100644 --- a/src/iscs/shape/group.js +++ b/src/iscs/shape/group.js @@ -21,7 +21,7 @@ export default class rect extends Group { create() { let rect = null; for (const key in this.model.elemMap) { - if (Vue.prototype.$iscs.iscsDevice[key].instance) { + if (Vue.prototype.$iscs.iscsDevice[key] && Vue.prototype.$iscs.iscsDevice[key].instance) { if (!rect) { rect = Vue.prototype.$iscs.iscsDevice[key].instance.getBoundingRect(); } else {