Ver código fonte

修改bug2683

haojianlong 4 anos atrás
pai
commit
b9c72d4d48

+ 1 - 1
src/views/ready/buildfloor/drawGraphy/checkGraphy.vue

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