pan
4 天以前 e4e304318532574e418bc01b5a45b8836dac3e1a
ÏîÄ¿´úÂë/WIDESEA_WMSClient/src/views/Index.vue
@@ -24,7 +24,7 @@
    </div>
    <div class="vol-container" :style="{ left: menuWidth - 1 + 'px' }">
      <div class="vol-header">
        <div class="project-name">WMS</div>
        <div class="project-name">WMS      {{ stationValue.replace('-1','') }}站台</div>
        <div class="header-text">
          <div class="h-link">
            <a
@@ -203,6 +203,7 @@
import VolMenu from "@/components/basic/VolElementMenu.vue";
import Message from "./index/Message.vue";
import MessageConfig from "./index/MessageConfig.js";
import { stationManager, STATION_STORAGE_KEY } from "@/../src/uitils/stationManager";
var imgUrl = require("@/assets/imgs/wms_x.png");
var $this;
var $interval;
@@ -241,7 +242,12 @@
  },
  setup(props, context) {
    let client = ref(null);
    const stationValue = ref("");
     const savedStation = stationManager.getStation();
     console.log("Saved Station:", savedStation);
      if (savedStation) {
        stationValue.value = savedStation;
      }
    // èŽ·å–å…¨å±€å±žæ€§å’Œæ–¹æ³•
    const { proxy } = getCurrentInstance();
@@ -686,6 +692,7 @@
      visibleItem,
      closeTabsMenu,
      closeTabs,
      stationValue,
      currentMenuId,
    };
  },