From a328c0c4ff150706e6d6c147a4ac4fe2df405da0 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Fri, 1 Apr 2022 20:53:13 +0800 Subject: [PATCH] =?UTF-8?q?initSocket=20=E8=BF=94=E5=9B=9E=E6=9C=AC?= =?UTF-8?q?=E8=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ca7294b..6cc132b 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,7 @@ export default { }) } - return my.socket + return this }, closeSocket(){ if (my.socket) my.socket.close()