Skip to content

Commit 59602f9

Browse files
committed
socket重构
1 parent f7174fc commit 59602f9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/utils/socket_service.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,11 @@ export default class SocketService {
1616
// 存储回调函数
1717
callBackMapping = {};
1818

19-
<<<<<<< HEAD
2019
// 标识是否连接成功
2120
connected = false;
2221

2322
// 记录重试的次数
2423
sendRetryCount = 0;
25-
=======
26-
static get Instance() {
27-
if (!this.instance) {
28-
this.instance = new SocketService();
29-
}
30-
return this.instance;
31-
}
32-
>>>>>>> 8b2e6aab85d9aaa04bbc56e87a04e7ad84e20e19
3324

3425
// 重新连接尝试的次数
3526
connectRetryCount = 0;

0 commit comments

Comments
 (0)