update 优化 !pr50 bug与代码实现

This commit is contained in:
疯狂的狮子Li
2023-11-02 13:53:44 +08:00
parent a8a334b3c3
commit f2372d3243
2 changed files with 6 additions and 6 deletions

View File

@ -99,7 +99,7 @@
import { initWebSocket } from '@/utils/websocket';
onMounted(() => {
initWebSocket("ws://"+window.location.host+import.meta.env.VITE_APP_BASE_API+"/resource/websocket");
initWebSocket("ws://" + window.location.host + import.meta.env.VITE_APP_BASE_API + "/resource/websocket");
});
const goTarget = (url:string) => {