Browse Source

集团首页修改bug

fujunwen 4 years ago
parent
commit
54d92b11e5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/equipment/index.vue

+ 4 - 1
src/views/equipment/index.vue

@@ -286,7 +286,10 @@ export default {
         // if (Object.keys(this.floorObj).length > 0) {
         //     this.floorInfo = this.floorObj
         // }
-        this.$refs.floorMap.init(this.floorInfo.gname)
+        /**
+         * 解决切换到设备设施地图数据加载两次问题
+        */
+        // this.$refs.floorMap.init(this.floorInfo.gname)
         if (this.$route.query.smsxt) {
             console.log(this.$route.query.smsxt)
             this.smsxt = this.$route.query.smsxt