Commit 1a6ede923d5deae7db3d5fc6f398b97a9d666343

Authored by 王通
1 parent a0757763

1.对指令下发取消监控模式的拦截

src/main/resources/static/real_control_v2/js/utils/dispatch_pattern.js
... ... @@ -33,6 +33,7 @@ gb_delay_write_log();
33 33  
34 34 //拦截POST请求
35 35 function interceptPOST(e, xhr, t) {
  36 + if (t.url.indexOf('/directive') == 0) return;
36 37 if (t && (t.method == 'POST' || t.type == 'POST')) {
37 38 xhr.abort();
38 39 notify_err('监控模式!');
... ...