feat: 2766 【采集器管理】用户点击解绑资源按照增加一个确认框,
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -477,6 +477,7 @@ layui.define(['table', 'form', 'sessions', 'common', 'view', 'admin', 'upload', | @@ -477,6 +477,7 @@ layui.define(['table', 'form', 'sessions', 'common', 'view', 'admin', 'upload', | ||
477 | return; | 477 | return; |
478 | } | 478 | } |
479 | let collectorId = $(this).attr('collector-data-unbindRes'); | 479 | let collectorId = $(this).attr('collector-data-unbindRes'); |
480 | + layer.confirm('是否确认解绑资源?',{icon: 7},function (){ | ||
480 | admin.req({ | 481 | admin.req({ |
481 | url: domainName + '/api-web/trapoid/unbind', | 482 | url: domainName + '/api-web/trapoid/unbind', |
482 | data: { | 483 | data: { |
@@ -497,6 +498,7 @@ layui.define(['table', 'form', 'sessions', 'common', 'view', 'admin', 'upload', | @@ -497,6 +498,7 @@ layui.define(['table', 'form', 'sessions', 'common', 'view', 'admin', 'upload', | ||
497 | } | 498 | } |
498 | }) | 499 | }) |
499 | }) | 500 | }) |
501 | + }) | ||
500 | } | 502 | } |
501 | }); | 503 | }); |
502 | 504 |
-
Please register or login to post a comment