瀏覽代碼

档案动态ID

CzRger 6 天之前
父節點
當前提交
3e459ef9f8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/stores/ship-map/ship-map.ts

+ 2 - 2
src/stores/ship-map/ship-map.ts

@@ -208,8 +208,8 @@ export const useShipMapStore = defineStore('shipMap', () => {
           }
         })
         if (d[state.trackKeys.shipId]) {
-          // shipArchiveDetail(formatGetParam({id: d[state.trackKeys.shipId]})).then(res => {
-          shipArchiveDetail(formatGetParam({id: '01d64e98bd904d2880ecd0e74d35383c'})).then(res => {
+          shipArchiveDetail(formatGetParam({id: d[state.trackKeys.shipId]})).then(res => {
+          // shipArchiveDetail(formatGetParam({id: '01d64e98bd904d2880ecd0e74d35383c'})).then(res => {
             if (res.code == 0) {
               state.trackMap.get(feature.get('_id')).archiveParams.data = res.data
             } else {