智慧园区前端大屏
shuishen
2024-12-25 d57422a5eebc857401b25f1fcc963594f1e7dcbc
临川模型加载配置调整
2 files modified
10 ■■■■ changed files
src/pages/map/components/scomponents/layersControl.vue 6 ●●●● patch | view | raw | blame | history
vite.config.js 4 ●●●● 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-25 11:06:14
 * @LastEditTime: 2024-12-25 15:32:04
 * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue
 * @Description:
 *
@@ -112,11 +112,11 @@
    subType: '3Dtile',
    urlData: [
      {
        url: VITE_APP_BASE + 'mx/tile_01/tileset.json',
        url: '/zhyqTileset/mx/tile_01/tileset.json',
        label: 'tile_01'
      },
      {
        url: VITE_APP_BASE + 'mx/tile_02/tileset.json',
        url: '/zhyqTileset/mx/tile_02/tileset.json',
        label: 'tile_02'
      },
    ],
vite.config.js
@@ -116,11 +116,11 @@
          rewrite: path => path.replace(/^\/zhyq-lc\/newMx/, ''),
        },
        '/zhyq-lc/mx': {
        '/zhyqTileset/mx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq-lc-mx/mx',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq-lc\/mx/, ''),
          rewrite: path => path.replace(/^\/zhyqTileset\/mx/, ''),
        },
        '/zhyqhbapi': {