dedsudiyu 2 년 전
부모
커밋
82a0a8be2e
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 1
      src/views/comprehensive/laboratoryManagement/building/buildingDetails.vue

+ 9 - 1
src/views/comprehensive/laboratoryManagement/building/buildingDetails.vue

@@ -1036,7 +1036,15 @@
             }
           }
         }else if(type == 2){
-
+          if(res){
+            this.loadingInstance.close();
+            if(res.data){
+              if(res.data.url){
+                this.$set(this,'mapSrc',res.data.url)
+                this.$set(this, 'shadeBoxType', 1);
+              }
+            }
+          }
         }
       },
       beforeAvatarUpload(file) {