Showing
4 changed files
with
4 additions
and
4 deletions
@@ -10318,10 +10318,10 @@ function deleteOrder(id, obj) { | @@ -10318,10 +10318,10 @@ function deleteOrder(id, obj) { | ||
10318 | if (data.code === 200) { | 10318 | if (data.code === 200) { |
10319 | active.close(); | 10319 | active.close(); |
10320 | $order.remove(); | 10320 | $order.remove(); |
10321 | - $order.addClass("deleted-easeout");//执行动画后移除元素 | ||
10322 | - setTimeout(function(){ | ||
10323 | - $order.remove(); | ||
10324 | - },2e2) | 10321 | + location.reload(); |
10322 | + }else{ | ||
10323 | + active.close(); | ||
10324 | + new dialog.Alert(data.message).show(); | ||
10325 | } | 10325 | } |
10326 | }); | 10326 | }); |
10327 | } | 10327 | } |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment