浏览代码

zzy ++ 船舶修改

zhiyuan-007 8 月之前
父节点
当前提交
561669f907
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      space-share-exchange/index.html
  2. 2 2
      src/views/c-cpns/Map.vue
  3. 2 2
      vite.config.js

+ 1 - 1
space-share-exchange/index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>上海市管理综合信息共享交换平台</title>
-    <script type="module" crossorigin src="./assets/index-38a7bb11.js"></script>
+    <script type="module" crossorigin src="./assets/index-202eb488.js"></script>
     <link rel="stylesheet" href="./assets/index-317c70ad.css">
   </head>
   <body>

+ 2 - 2
src/views/c-cpns/Map.vue

@@ -113,8 +113,8 @@ export default {
       nextTick(() => {
         myBridge.bridgeContent = bridge = new CityGis.Bridge({
           id: "i_map",
-          //url: 'https://cimweb.zjw.sh.cegn.cn:2007/VUE-Map-Tool-Widget/#/jk_map?theme=light&type=3D', //建科发布
-          url: 'http://localhost:8081/#/jk_map?theme=light&type=3D',
+          url: 'https://cimweb.zjw.sh.cegn.cn:2007/VUE-Map-Tool-Widget/#/jk_map?theme=light&type=3D', //建科发布
+          //url: 'http://localhost:8081/#/jk_map?theme=light&type=3D',
           onReady: function () {
             console.log("地图创建完成")
           }

+ 2 - 2
vite.config.js

@@ -16,8 +16,8 @@ export default defineConfig({
       // 代理所有 /api 的请求,该求情将被代理到 target 中
       '/api': {
         // 代理请求之后的请求地址(你的真实接口地址)
-        //target: 'https://cimweb.zjw.sh.cegn.cn:2007/data-business-prod/',
-        target: 'http://localhost:9250/',
+        target: 'https://cimweb.zjw.sh.cegn.cn:2007/data-business-prod/',
+        //target: 'http://localhost:9250/',
         secure: false,
         ws: true,
         // 跨域