src/views/historymode/HistoryMode.vue
@@ -4,6 +4,7 @@
      <SearchBar
        v-show="status == 0"
        :search-time="searchTime"
        :loading="loading"
        @search="fetchHistroyData"
      ></SearchBar>
      <TrajectoryState v-show="status != 0" :status="status"></TrajectoryState>
@@ -106,12 +107,7 @@
    },
    // 绘制3D走行路线图
    drawRoadMap(e) {
      //   this.factorMode = factorMode;
      // this.factorType = factorType;
      // this.factorName = factorName;
      this.factorDatas.refreshHeight(this.factorType);
      // this.mapMaker.setFactorType(factorType);
      // if (!this.mapMaker.runStatus()) {
      Layer.drawRoadMap(this.factorDatas, e, this.merge, this.setCenter);
      // }
@@ -125,12 +121,12 @@
      });
    },
    drawSector(index) {
      // 1. 绘制扇形区域
      // 1. 绘制新扇形区域
      sector.drawSector(this.factorDatas, index);
      // 2. 绘制对话框
      DialogUtil.openNewWindow(this.factorDatas, index, () => {
        // 移除扇形区域
        // clearSector3();
        sector.clearSector();
      });
    },
    onFetchData(type, data) {