Showing
1 changed file
with
4 additions
and
4 deletions
@@ -149,10 +149,10 @@ function deleteOrder(id, obj) { | @@ -149,10 +149,10 @@ function deleteOrder(id, obj) { | ||
149 | if (data.code === 200) { | 149 | if (data.code === 200) { |
150 | active.close(); | 150 | active.close(); |
151 | $order.remove(); | 151 | $order.remove(); |
152 | - $order.addClass("deleted-easeout");//执行动画后移除元素 | ||
153 | - setTimeout(function(){ | ||
154 | - $order.remove(); | ||
155 | - },2e2) | 152 | + location.reload(); |
153 | + }else{ | ||
154 | + active.close(); | ||
155 | + new dialog.Alert(data.message).show(); | ||
156 | } | 156 | } |
157 | }); | 157 | }); |
158 | } | 158 | } |
-
Please register or login to post a comment