|
|
|
|
@ -759,6 +759,7 @@ export default { |
|
|
|
|
let id = ""; |
|
|
|
|
if (this.bimModel == 2) { |
|
|
|
|
if (item.modelId == "") { |
|
|
|
|
this.$message.error('对不起,暂无该设备模型,请稍后点击'); |
|
|
|
|
} else { |
|
|
|
|
// bfHelper.resetStatus(2); |
|
|
|
|
bfHelper.clearDrawableContainer(); |
|
|
|
|
@ -795,10 +796,11 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
bfHelper.mapDestroy(); |
|
|
|
|
// bfHelper.mapDestroy(); |
|
|
|
|
if (item.modelId == "") { |
|
|
|
|
this.$message.error('对不起,暂无该设备模型,请稍后点击'); |
|
|
|
|
} else { |
|
|
|
|
// bfHelper.mapDestroy(); |
|
|
|
|
bfHelper.mapDestroy(); |
|
|
|
|
bfHelper.clearDrawableContainer(); |
|
|
|
|
id = bfHelper.disposeId(item.area, item.build, item.modelId); |
|
|
|
|
|
|
|
|
|
|