Explorar o código

修改bug2683

haojianlong %!s(int64=5) %!d(string=hai) anos
pai
achega
b9c72d4d48
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/ready/buildfloor/drawGraphy/checkGraphy.vue

+ 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;
       }