Authored by xuqi

refresh page

@@ -129,7 +129,7 @@ orderHammer.on('tap', function(e) { @@ -129,7 +129,7 @@ orderHammer.on('tap', function(e) {
129 if (data.code === 200) { 129 if (data.code === 200) {
130 130
131 //删除订单页面刷新 131 //删除订单页面刷新
132 - location.href = location.href; 132 + history.go(0);
133 } 133 }
134 } 134 }
135 }); 135 });
@@ -154,7 +154,7 @@ orderHammer.on('tap', function(e) { @@ -154,7 +154,7 @@ orderHammer.on('tap', function(e) {
154 if (data.code === 200) { 154 if (data.code === 200) {
155 155
156 //取消订单页面刷新 156 //取消订单页面刷新
157 - location.href = location.href; 157 + history.go(0);
158 } 158 }
159 } 159 }
160 }); 160 });