src/views/index.vue
@@ -96,6 +96,11 @@ </template> <script setup name="Index" lang="ts"> import { initWebSocket } from '@/utils/websocket'; onMounted(() => { initWebSocket("ws://"+window.location.host+import.meta.env.VITE_APP_BASE_API+"/resource/websocket"); }); const goTarget = (url:string) => { window.open(url, '__blank')