zywlgis 0.5.89 → 0.5.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zywlgis",
3
- "version": "0.5.89",
3
+ "version": "0.5.90",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "module": "release/ZYWLGIS.es.js",
@@ -132705,7 +132705,7 @@ function axA(n) {
132705
132705
  values: e
132706
132706
  };
132707
132707
  }
132708
- const oxA = "0.5.88", DxA = {
132708
+ const oxA = "0.5.89", DxA = {
132709
132709
  version: oxA
132710
132710
  };
132711
132711
  var ow = {
@@ -162289,7 +162289,7 @@ const IW = (n, A) => {
162289
162289
  ), window.mousePosition = l.position, this.mouseCoordinate = [
162290
162290
  Number(l.coordinate.longitude.toFixed(9)),
162291
162291
  Number(l.coordinate.latitude.toFixed(9))
162292
- ], this.initializeMap && (this.initializeMap = !1, this.setMapEngineStateBar(), this.refreshZoom());
162292
+ ], console.log(this.mouseCoordinate), this.initializeMap && (this.initializeMap = !1, this.setMapEngineStateBar(), this.refreshZoom());
162293
162293
  } catch (c) {
162294
162294
  console.error("获取地形高度失败:", c);
162295
162295
  }
@@ -162630,7 +162630,7 @@ const IW = (n, A) => {
162630
162630
  },
162631
162631
  // 刷新地图缩放级别
162632
162632
  refreshZoom() {
162633
- if (this.panorama_.isOpen)
162633
+ if (this.panorama_?.isOpen)
162634
162634
  return;
162635
162635
  const n = document.getElementById(`${this.containerID}-MapZoom`);
162636
162636
  if (n) {
@@ -162672,7 +162672,7 @@ const IW = (n, A) => {
162672
162672
  },
162673
162673
  // 设置地图引擎状态栏
162674
162674
  setMapEngineStateBar() {
162675
- if (window.isOpenSyncZoomLensCamera || this.panorama_.isOpen)
162675
+ if (window.isOpenSyncZoomLensCamera || this.panorama_?.isOpen)
162676
162676
  return;
162677
162677
  let n, A;
162678
162678
  this.mouseCoordinate && this.mouseCoordinate.length && (n = this.mouseCoordinate[0], A = this.mouseCoordinate[1]), p.createMapEngineStateBar(
package/vite.config.js CHANGED
@@ -32,7 +32,6 @@ export default defineConfig(({ command, mode, isSsrBuild, isPreview }) => {
32
32
  uuid: [["v4", "uuidv4"]],
33
33
  "maptalks.heatmap": ["HeatLayer"],
34
34
  "@public/libs/heatmap.js": [["default", "h337"]],
35
- // radashi: ["cloneDeep", "get"],
36
35
  },
37
36
  "vue", // 保持默认导入 vue 的 API (ref, reactive 等)
38
37
  ],
@@ -97,16 +96,6 @@ export default defineConfig(({ command, mode, isSsrBuild, isPreview }) => {
97
96
  build: {
98
97
  outDir: "preview",
99
98
  },
100
- server: {
101
- proxy: {
102
- // 匹配所有以 '/data' 开头的请求(根据你的图片路径调整)
103
- "/data/datas": {
104
- target: "http://36.140.175.203:38087", // 目标服务器地址
105
- changeOrigin: true, // 修改请求头中的 Origin 为目标服务器
106
- // rewrite: (path) => path.replace(/^\/data/, '') // 如果不需要重写路径则不需要这行
107
- },
108
- },
109
- },
110
99
  };
111
100
  }
112
101
  });