修改云南测试用例

This commit is contained in:
guanj
2025-07-29 19:00:54 +08:00
parent 24c590478e
commit cc47d9b02c
22 changed files with 531 additions and 302 deletions

View File

@@ -7,8 +7,15 @@
<script lang="ts" setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import useSetTheme from '@/utils/setTheme'
import { onMounted } from 'vue'
useSetTheme()
onMounted(async () => {
const response = await fetch('/')
const WebSocketUrl:any = response.headers.get('X-WebSocket-Url')
const MqttUrl:any = response.headers.get('X-MqttUrl-Url')
localStorage.setItem('WebSocketUrl', WebSocketUrl)
localStorage.setItem('MqttUrl', MqttUrl)
})
</script>
<style lang="scss">