Commit e46b925e authored by liyuanhong's avatar liyuanhong

修改了新车机复位没有设置websocket = none 的bug

parent fd57fc86
......@@ -261,6 +261,7 @@ function reset(){
sendHttpMsg(data,url);
$("#curStatus").val("断网");
$("#showFeedback").val("")
$("#totalSessionNums").val(0)
//endService()
ws.close();
}
......
......@@ -289,6 +289,7 @@ function reset(){
$("#showFeedback").val("")
//endService()
$("#curStatus").val("断网")
$("#totalSessionNums").val(0)
ws.close();
}
}
......
......@@ -251,6 +251,7 @@ def reset():
service.stopTravel()
service.stopService()
service.socket.close()
websocket = None
connects = {}
data["status"] = "200"
data["message"] = "复位成功!"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment