|
@@ -63,7 +63,7 @@ export default {
|
|
this.$message.warning("请选择模型文件");
|
|
this.$message.warning("请选择模型文件");
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (this.alreadyRelatedModel.indexOf(this.jsonKey) > -1) {
|
|
|
|
|
|
+ if (this.alreadyRelatedModel.indexOf(this.modelIdToFloorId[this.jsonKey]) > -1) {
|
|
this.$message.warning('此模型已关联该建筑下的楼层');
|
|
this.$message.warning('此模型已关联该建筑下的楼层');
|
|
return;
|
|
return;
|
|
}
|
|
}
|