Commit 9b76e9a7c575969b5513ed4290c3945384f4f4c1
1 parent
ffeba567
update...
Showing
2 changed files
with
13 additions
and
1 deletions
src/main/java/com/bsth/data/gpsdata/client/DataMonitor.java
0 → 100644
src/main/resources/static/real_control_v2/js/north/toolbar.js
| @@ -42,7 +42,7 @@ var gb_northToolbar = (function () { | @@ -42,7 +42,7 @@ var gb_northToolbar = (function () { | ||
| 42 | //exit | 42 | //exit |
| 43 | $('.north .north-toolbar .exit-system').on('click', function () { | 43 | $('.north .north-toolbar .exit-system').on('click', function () { |
| 44 | //关闭websocket 连接 | 44 | //关闭websocket 连接 |
| 45 | - gb_sch_websocket.sock().close(); | 45 | + gb_sch_websocket.sock().close(1000, '退出线调'); |
| 46 | window.location.href = '/pages/control/lineallot/allot.html'; | 46 | window.location.href = '/pages/control/lineallot/allot.html'; |
| 47 | }); | 47 | }); |
| 48 | 48 |