Showing
1 changed file
with
2 additions
and
0 deletions
@@ -89,6 +89,7 @@ function orderCompute() { | @@ -89,6 +89,7 @@ function orderCompute() { | ||
89 | 89 | ||
90 | if (!res) { | 90 | if (!res) { |
91 | tip.show('网络出错'); | 91 | tip.show('网络出错'); |
92 | + window.location.reload(); | ||
92 | } else { | 93 | } else { |
93 | /*if (res.order_amount) { | 94 | /*if (res.order_amount) { |
94 | res.order_amount = (+res.order_amount).toFixed(2); | 95 | res.order_amount = (+res.order_amount).toFixed(2); |
@@ -108,6 +109,7 @@ function orderCompute() { | @@ -108,6 +109,7 @@ function orderCompute() { | ||
108 | } | 109 | } |
109 | }).fail(function() { | 110 | }).fail(function() { |
110 | tip.show('网络出错'); | 111 | tip.show('网络出错'); |
112 | + window.location.reload(); | ||
111 | }); | 113 | }); |
112 | } | 114 | } |
113 | 115 |
-
Please register or login to post a comment