zhanhan 1 år sedan
förälder
incheckning
0c0854f220
3 ändrade filer med 5 tillägg och 5 borttagningar
  1. 1 1
      src/components/map/CesiumMap.vue
  2. 2 2
      src/components/proxy/ConfigManage.vue
  3. 2 2
      vue.config.js

+ 1 - 1
src/components/map/CesiumMap.vue

@@ -185,7 +185,7 @@ export default {
       });
     },
     addMap(url, type) {
-      debugger
+
       viewer.imageryLayers.removeAll(true);
       if(type==''){
         viewer.imageryLayers.addImageryProvider(

+ 2 - 2
src/components/proxy/ConfigManage.vue

@@ -229,8 +229,8 @@ export default {
       that.loading = true;
 
       let params = {
-        proxyType: this.proxyType,
-        dataType: this.dataType,
+        proxyType: this.proxyType,//"PUBLISH"
+        dataType: this.dataType,//"MAP"
       }
       this.$request.postForm('/proxy_proxy/proxy_api/config/getByType', params).then(res => {
         that.configData = [];

+ 2 - 2
vue.config.js

@@ -6,8 +6,8 @@ module.exports = defineConfig({
     port: 8080,
     proxy: {
       '/proxy_proxy/': {
-        target: 'http://121.43.55.7:10011/proxy',
-        // target: 'http://127.0.0.1:10093',
+        // target: 'http://121.43.55.7:10011/proxy',
+        target: 'http://127.0.0.1:10093',
         changeOrigin: true,
         secure: false,
         pathRewrite: {