@@ -406,6 +406,7 @@ function waiting(callback){
ws.onclose = function () {
console.log("closed...")
window.clearInterval(timer)
+ //这里仿照page.html添加上重连机制
}
ws.onerror = function (err) {