【模版目录】修复开启长链接还提示请开启长链接提示问题

This commit is contained in:
吴昊天 2022-08-25 09:53:18 +08:00
parent 45b0aa7f58
commit 6cf7090498

View File

@ -258,6 +258,7 @@ export default {
let isNotice = false;
let socket = new WebSocket(url);
socket.onopen = () =>{
isNotice = true;
socket.close();
};
socket.onerror = (err) =>{