This commit is contained in:
sjl
2025-01-15 20:37:58 +08:00
parent b23ee84543
commit 4e179d61b5
3 changed files with 36 additions and 18 deletions

View File

@@ -980,7 +980,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; }) => {