AJNB 1 month ago
parent
commit
356755d5a7
2 changed files with 4 additions and 5 deletions
  1. 3 4
      src/views/enterprise/mapContainer.vue
  2. 1 1
      vue.config.js

+ 3 - 4
src/views/enterprise/mapContainer.vue

@@ -1252,11 +1252,10 @@ export default {
       console.log("changeAngle", changeAngle);
       this.changeNeighborAngle(-changeAngle);
     })
+    listFarm({}).then(info => {
+      console.log("info", info);
 
-    // listFarm({}).then(info => {
-    //   console.log("info", info);
-
-    // })
+    })
     // delFarmAndMap({id:'5c1a7a58-3f51-4e77-9dfc-ede01c29fa45'}).then(info => {
     //   console.log("info", info);
     // })

+ 1 - 1
vue.config.js

@@ -36,7 +36,7 @@ module.exports = {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         target: `http://192.168.0.153:8080`,
-        target: `http://8.130.113.97:8080`,
+        // target: `http://8.130.113.97:8080`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''