智慧园区前端大屏
shuishen
2024-12-27 1e36ce85f1c70dc1dbd789d56d65320f70a86e31
倾斜配置更新
2 files modified
17 ■■■■ changed files
src/pages/map/components/scomponents/layersControl.vue 6 ●●●● patch | view | raw | blame | history
vite.config.js 11 ●●●● patch | view | raw | blame | history
src/pages/map/components/scomponents/layersControl.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-31 10:47:29
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-26 12:41:25
 * @LastEditTime: 2024-12-26 18:54:27
 * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue
 * @Description:
 *
@@ -112,11 +112,11 @@
    subType: '3Dtile',
    urlData: [
      {
        url: '/zhyqTileset/mx/tile_01/tileset.json',
        url: '/3Dtile/lcmx/tile_01/tileset.json',
        label: 'tile_01'
      },
      {
        url: '/zhyqTileset/mx/tile_02/tileset.json',
        url: '/3Dtile/lcmx/tile_02/tileset.json',
        label: 'tile_02'
      },
    ],
vite.config.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 10:56:27
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-25 15:16:02
 * @LastEditTime: 2024-12-26 18:55:57
 * @FilePath: \bigScreen\vite.config.js
 * @Description: 
 * 
@@ -116,11 +116,12 @@
          rewrite: path => path.replace(/^\/zhyq-lc\/newMx/, ''),
        },
        '/zhyqTileset/mx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq-lc-mx/mx',
        '/3Dtile/lcmx': {
          target: 'https://wrj.shuixiongit.com/3Dtile/lcmx',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyqTileset\/mx/, ''),
          rewrite: path => path.replace(/^\/3Dtile\/lcmx/, ''),
        },
        '/zhyqhbapi': {