YaolongHan 4 years ago
parent
commit
e187c9579d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/floorMap/darkColorIndex.vue

+ 2 - 2
src/components/floorMap/darkColorIndex.vue

@@ -554,6 +554,8 @@ export default {
             console.log("errr", res.err);
             return;
           }
+          // 改变底图演示
+          ItemColor.spaceColor = new SColor("#0C102C");
           this.fParser = new SFloorParser(null);
           this.fParser.parseData(res);
           this.fParser.spaceList.forEach((t) => {
@@ -651,8 +653,6 @@ export default {
             // 除土建装饰之外的图例展示 包括楼层功能
             bus.$emit("queryViewMethods");
           }
-          // 改变底图演示
-          ItemColor.spaceColor = new SColor("#0C102C");
           this.topologyParser = new STopologyParser(null);
           this.topologyParser.parseData(data.Data[0].Elements);
           // 多边形