File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
litemall-vue/src/views/user/order-list Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 38
38
class =" footer_btn" >
39
39
<van-button size =" small"
40
40
v-if =" el.handleOption.cancel"
41
- @click =" cancelOrder(el.id)" >取消订单</van-button >
41
+ @click.stop =" cancelOrder(el.id)" >取消订单</van-button >
42
42
<van-button size =" small"
43
43
v-if =" el.handleOption.pay"
44
44
type =" danger"
45
45
@click.stop =" toPay(el.id)" >去支付</van-button >
46
46
<van-button size =" small"
47
47
v-if =" el.handleOption.refund"
48
48
type =" danger"
49
- @click =" refundOrder(el.id)" >退款</van-button >
49
+ @click.stop =" refundOrder(el.id)" >退款</van-button >
50
50
<van-button size =" small"
51
51
v-if =" el.handleOption.confirm"
52
52
type =" danger"
53
- @click =" confirmOrder(el.id)" >确认收货</van-button >
53
+ @click.stop =" confirmOrder(el.id)" >确认收货</van-button >
54
54
<van-button size =" small"
55
55
v-if =" el.handleOption.delete"
56
- @click =" delOrder(el.id)" >删除订单</van-button >
56
+ @click.stop =" delOrder(el.id)" >删除订单</van-button >
57
57
<van-button size =" small"
58
58
v-if =" el.handleOption.comment"
59
- @click =" commentOrder(el.id)" >去评价</van-button >
59
+ @click.stop =" commentOrder(el.id)" >去评价</van-button >
60
60
</div >
61
61
62
62
</van-panel >
@@ -131,7 +131,7 @@ export default {
131
131
this .$dialog
132
132
.confirm ({ message: ' 确定要取消该订单吗?' })
133
133
.then (() => {
134
- orderDelete ({ orderId: id }).then (() => {
134
+ orderCancel ({ orderId: id }).then (() => {
135
135
this .init ();
136
136
this .$toast (' 已取消该订单' );
137
137
});
You can’t perform that action at this time.
0 commit comments