瀏覽代碼

修复bug6-25am 合并

liujiejie 11 月之前
父節點
當前提交
c36133cc74
共有 3 個文件被更改,包括 3 次插入4 次删除
  1. 二進制
      dist.zip
  2. 1 2
      src/components/map/index.vue
  3. 2 2
      vue.config.js

二進制
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重写的,