Showing
1 changed file
with
2 additions
and
1 deletions
@@ -92,7 +92,6 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | @@ -92,7 +92,6 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | ||
92 | move: false, | 92 | move: false, |
93 | success:()=>{ | 93 | success:()=>{ |
94 | let dialogIndex=layer.index; | 94 | let dialogIndex=layer.index; |
95 | - // layer.close(); | ||
96 | $('.vulnerability-name').unbind("click").on('click',()=>{ | 95 | $('.vulnerability-name').unbind("click").on('click',()=>{ |
97 | layer.close(dialogIndex); | 96 | layer.close(dialogIndex); |
98 | let detail = ` | 97 | let detail = ` |
@@ -153,6 +152,8 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | @@ -153,6 +152,8 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | ||
153 | }) | 152 | }) |
154 | }, | 153 | }, |
155 | }) | 154 | }) |
155 | + }else{ | ||
156 | + layer.closeAll(); | ||
156 | } | 157 | } |
157 | } | 158 | } |
158 | 159 |
-
Please register or login to post a comment