摘要:
参考:https://segmentfault.com/a/1190000019301545 export default { data() { return { websock: null, } }, created(){ //页面刚进入时开启长连接 this.initWebSocket() }, 阅读全文
摘要:
参考资料: https://www.codercto.com/a/82218.html https://www.cnblogs.com/xiaoyuanqujing/articles/11839062.html https://www.cnblogs.com/ghylpb/p/12512823.ht 阅读全文