#
Junjie
9 小时以前 c5d7868e9e5fb8013edb088a70e75fc83d575690
src/main/webapp/components/MapCanvas.js
@@ -26,6 +26,7 @@
        <div v-show="showMapToolPanel" :style="mapToolBarStyle()">
          <div :style="mapToolRowStyle()">
            <button type="button" @click="toggleStationDirection" :style="mapToolButtonStyle(showStationDirection)">{{ showStationDirection ? '隐藏站点方向' : '显示站点方向' }}</button>
            <button type="button" @click="resetMapView" :style="mapToolButtonStyle(false)">重置视图</button>
            <button type="button" @click="rotateMap" :style="mapToolButtonStyle(false)">旋转</button>
            <button type="button" @click="toggleMirror" :style="mapToolButtonStyle(mapMirrorX)">{{ mapMirrorX ? '取消镜像' : '镜像' }}</button>
          </div>
@@ -138,7 +139,7 @@
        'site-auto-run': 0xfa51f6,
        'site-auto-id': 0xc4c400,
        'site-auto-run-id': 0x30bffc,
        'site-enable-in': 0x18c7b8,
        'site-enable-in': 0xA81DEE,
        'site-unauto': 0xb8b8b8,
        'machine-pakin': 0x30bffc,
        'machine-pakout': 0x97b400,
@@ -154,7 +155,7 @@
    this.loadStationColorConfig();
    this.loadLocList();
    this.connectWs();
    setTimeout(() => {
      this.getMap(this.currentLev);
    }, 1000);
@@ -2408,6 +2409,11 @@
      this.applyMapTransform(true);
      this.saveMapTransformConfig();
    },
    resetMapView() {
      this.fitStageToContent();
      this.scheduleAdjustLabels();
      this.scheduleShelfChunkCulling();
    },
    toggleStationDirection() {
      this.showStationDirection = !this.showStationDirection;
      this.applyStationDirectionVisibility();
@@ -2452,7 +2458,7 @@
        'site-auto-run': 0xfa51f6,
        'site-auto-id': 0xc4c400,
        'site-auto-run-id': 0x30bffc,
        'site-enable-in': 0x18c7b8,
        'site-enable-in': 0xA81DEE,
        'site-unauto': 0xb8b8b8,
        'machine-pakin': 0x30bffc,
        'machine-pakout': 0x97b400,
@@ -2640,13 +2646,6 @@
    }
  }
});