类型:开发

描述:
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 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 proSocketBaseUrl = 'ws://192.168.77.200:8060'
export const mode = 'pro' // 测试 dev 正式 pro export const mode = 'dev' // 测试 dev 正式 pro
export const devToken = export const devToken =
'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImE1OWFmNWYwLTU3OWItNDJkNy1hZDJhLTY0Y2JlODA5ZWI1NiJ9.BTxvu6jUWbN0qONWf5K6VzXopE8T8qXzKuX-mij21VJT4U0LdgnqToyqeNDQ2OyJ6cvpdJBzQ9mEEb-dnwrTpQ' 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImE1OWFmNWYwLTU3OWItNDJkNy1hZDJhLTY0Y2JlODA5ZWI1NiJ9.BTxvu6jUWbN0qONWf5K6VzXopE8T8qXzKuX-mij21VJT4U0LdgnqToyqeNDQ2OyJ6cvpdJBzQ9mEEb-dnwrTpQ'

View File

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

View File

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