From 79838581ac5e710da4899348d2e8fb8fb5d68a5e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 17 Dec 2024 11:37:00 +0800
Subject: [PATCH] 新干配置调整
---
src/pages/map/components/scomponents/layersControl.vue | 4 ++--
.env.development | 4 ++--
.env.production | 2 +-
vite.config.js | 18 +++++++++---------
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.env.development b/.env.development
index fcfda8b..707b207 100644
--- a/.env.development
+++ b/.env.development
@@ -2,7 +2,7 @@
# @Author: shuishen 1109946754@qq.com
# @Date: 2024-10-25 11:21:24
# @LastEditors: shuishen 1109946754@qq.com
- # @LastEditTime: 2024-10-25 11:37:37
+ # @LastEditTime: 2024-12-17 11:33:06
# @FilePath: \bigScreen\.env.development
# @Description:
#
@@ -16,4 +16,4 @@
VITE_APP_API=/zhyqapi
#页面基础路径
-VITE_APP_BASE=/zhyq/
+VITE_APP_BASE=/zhyq-xg/
diff --git a/.env.production b/.env.production
index 16d9b5e..06cbaf9 100644
--- a/.env.production
+++ b/.env.production
@@ -17,7 +17,7 @@
VITE_APP_API=/zhyqapi
#页面基础路径
-VITE_APP_BASE=/zhyq/
+VITE_APP_BASE=/zhyq-xg/
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
diff --git a/src/pages/map/components/scomponents/layersControl.vue b/src/pages/map/components/scomponents/layersControl.vue
index 847184e..446f6b6 100644
--- a/src/pages/map/components/scomponents/layersControl.vue
+++ b/src/pages/map/components/scomponents/layersControl.vue
@@ -532,10 +532,10 @@
if (!addTileLayers[item.layerName]) {
// addTileLayers[item.layerName] = []
// let tile = window.$viewer.delegate.scene.primitives.add(new window.$Cesium.Cesium3DTileset({
- // url: '/zhyq/mx/tile_01/tileset.json',
+ // url: '/zhyq-xg/mx/tile_01/tileset.json',
// }))
- // url: '/zhyq/mx/tile_01/tileset.json',
+ // url: '/zhyq-xg/mx/tile_01/tileset.json',
// }), 121323)
// item.urlData.forEach(i => {
diff --git a/vite.config.js b/vite.config.js
index 3e7d30f..9c156f1 100644
--- a/vite.config.js
+++ b/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-03 13:42:55
+ * @LastEditTime: 2024-12-17 11:34:47
* @FilePath: \bigScreen\vite.config.js
* @Description:
*
@@ -95,11 +95,11 @@
// overlay:false
// },
proxy: {
- '/zhyq/xinganTileset': {
+ '/zhyq-xg/xinganTileset': {
// target: 'http://localhost',
target: 'http://182.109.88.42:10010/xinganTileset',
changeOrigin: true,
- rewrite: path => path.replace(/^\/zhyq\/xinganTileset/, ''),
+ rewrite: path => path.replace(/^\/zhyq-xg\/xinganTileset/, ''),
},
'/zhyq3Dtile': {
@@ -116,18 +116,18 @@
rewrite: path => path.replace(/^\/panorama/, ''),
},
- '/zhyq/newMx': {
+ '/zhyq-xg/newMx': {
// target: 'http://localhost',
- target: 'https://wrj.shuixiongit.com/zhyq/newMx',
+ target: 'https://wrj.shuixiongit.com/zhyq-xg/newMx',
changeOrigin: true,
- rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
+ rewrite: path => path.replace(/^\/zhyq-xg\/newMx/, ''),
},
- // '/zhyq/mx': {
+ // '/zhyq-xg/mx': {
// // target: 'http://localhost',
- // target: 'https://wrj.shuixiongit.com/zhyq/mx',
+ // target: 'https://wrj.shuixiongit.com/zhyq-xg/mx',
// changeOrigin: true,
- // rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
+ // rewrite: path => path.replace(/^\/zhyq-xg\/mx/, ''),
// },
'/zhyqapi': {
--
Gitblit v1.9.3