Quellcode durchsuchen

修复bug6-25am 合并

liujiejie vor 11 Monaten
Ursprung
Commit
c36133cc74
3 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
  1. BIN
      dist.zip
  2. 1 2
      src/components/map/index.vue
  3. 2 2
      vue.config.js

BIN
dist.zip


+ 1 - 2
src/components/map/index.vue

@@ -168,12 +168,11 @@ export default {
     },
   },
   mounted() {
-
     this.map = new Map({
       target: "map",
       view: new View({
         projection: "EPSG:4326",
-        center: fromLonLat([116.389, 39.903]), //地图中心 
+        center: fromLonLat([116.389, 39.903]), //地图中心
         zoom: 5, //默认缩放级别
         minZoom: 5, //最小缩放级别
         maxZoom: 15, //最大缩放级别

+ 2 - 2
vue.config.js

@@ -65,9 +65,9 @@ module.exports = {
     proxy: {
       "/api": {
         // target: "http://192.168.5.4:16200", // 石月
-        // target: "http://192.168.50.235:16200", //内网
+        target: "http://192.168.50.235:16200", //内网
         // target: "http://192.168.5.15:16200",
-        target: "http://106.120.102.238:16600", //外网
+        // target: "http://106.120.102.238:16600", //外网
         changeOrigin: true,
         pathRewrite: {
           "^/api": "", // 需要regit write重写的,