This commit is contained in:
sjl
2025-01-15 13:26:05 +08:00
parent 99bbb5434d
commit 56619c9140
5 changed files with 43 additions and 7 deletions

View File

@@ -968,7 +968,7 @@ const handleTest = async (val:string) => {
const data = reactive({
socketServe: socketClient.Instance,
});
const url = 'ws://192.168.1.127:7777/hello?name=cdf';
const url = 'ws://localhost:7777/hello?name=cdf';
socketClient.Instance.connect(url);
data.socketServe = socketClient.Instance;
data.socketServe.registerCallBack('aaa', (res: { code: number; }) => {