This commit is contained in:
sjl
2025-01-15 09:35:36 +08:00
parent 0cace11975
commit 14e5535fd8
21 changed files with 206 additions and 36 deletions

View File

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