类型:开发

描述:
This commit is contained in:
2025-03-25 12:49:50 +08:00
parent 0f87b8d052
commit 4ae81029a6
3 changed files with 18 additions and 13 deletions

View File

@@ -1,10 +1,10 @@
export const baseUrl = 'http://36.138.38.16:8001'
export const baseUrl = 'http://127.0.0.1:81'
export const proBaseUrl = 'http://192.168.77.200'
export const socketBaseUrl = 'ws://36.138.38.16:81'
export const socketBaseUrl = 'ws://127.0.0.1:81/fjtcc-api'
export const proSocketBaseUrl = 'ws://192.168.77.200:8060'
export const mode = 'pro' // 测试 dev 正式 pro
export const mode = 'dev' // 测试 dev 正式 pro
export const devToken =
'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImE1OWFmNWYwLTU3OWItNDJkNy1hZDJhLTY0Y2JlODA5ZWI1NiJ9.BTxvu6jUWbN0qONWf5K6VzXopE8T8qXzKuX-mij21VJT4U0LdgnqToyqeNDQ2OyJ6cvpdJBzQ9mEEb-dnwrTpQ'

View File

@@ -20,8 +20,8 @@
</div>
</div>
<div class="main">
<iframe v-if="scenicSpotId == 'root000000' || scenicSpotId == 'root00000000'" width="100%" height="100%" src="/sxzd/sxzd.html"></iframe>
<iframe v-if="scenicSpotId == '龙桥河'" width="100%" height="100%" src="/lqh/lqh.html"></iframe>
<iframe v-if="scenicSpotId == 'root000000' || scenicSpotId == 'root00000000'" width="100%" height="100%" src="/map/sxzd/sxzd.html"></iframe>
<iframe v-if="scenicSpotId == '龙桥河'" width="100%" height="100%" src="/map/lqh/lqh.html"></iframe>
</div>
<div class="footer">
<div class="flex">

View File

@@ -26,14 +26,19 @@ export default defineConfig({
base: '/largeScreen/',
server: {
hmr: true,
host: '0.0.0.0'
// proxy: {
// '/': {
// // 目标服务器的地址
// target: 'http://36.138.38.16:8001',
// changeOrigin: true
// }
// }
host: '0.0.0.0',
proxy: {
// '/sxzd': {
// // 目标服务器的地址
// target: 'http://localhost:63343/',
// changeOrigin: true
// },
// '/lqh': {
// // 目标服务器的地址
// target: 'http://localhost:63343/',
// changeOrigin: true
// }
}
},
resolve: {
alias: {