Browse Source

Close socket in submission_content.

master
t123yh 7 years ago
parent
commit
82e7b5b181
  1. 2
      views/submission_content.ejs

2
views/submission_content.ejs

@ -222,6 +222,7 @@ if (token != null) {
vueApp.roughData.running = false;
vueApp.roughData.result = p.roughResult;
vueApp.detailResult = p.result;
socket.close();
});
socket.emit('join', token, (data) => {
console.log("JOIN" + JSON.stringify(data));
@ -231,6 +232,7 @@ if (token != null) {
vueApp.detailResult = data.result || {
systemMessage: "系统出错,请刷新后重试。"
};
socket.close();
} else {
if (data.current.running) {
vueApp.roughData.running = true;

Loading…
Cancel
Save