From 89482c339a5de4a89917182212410da9c0b6408c Mon Sep 17 00:00:00 2001 From: frank Date: Sat, 13 Jul 2024 00:06:46 +0800 Subject: [PATCH] typo --- ...245\344\273\273\346\204\217react\347\275\221\347\253\231.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/24.07/\346\263\250\345\205\245\344\273\273\346\204\217react\347\275\221\347\253\231.md" "b/24.07/\346\263\250\345\205\245\344\273\273\346\204\217react\347\275\221\347\253\231.md" index 92d37027..ae829b5f 100644 --- "a/24.07/\346\263\250\345\205\245\344\273\273\346\204\217react\347\275\221\347\253\231.md" +++ "b/24.07/\346\263\250\345\205\245\344\273\273\346\204\217react\347\275\221\347\253\231.md" @@ -17,7 +17,7 @@ tags: var OldWs = window.WebSocket; function NewWs(url, protocols) { - const wsInstance = OldWs(url, protocals); + const wsInstance = OldWs(url, protocols); // 实现原来功能之后,把全局变量ws赋值 window.ws = wsInstance; return wsInstance;