if (response.data.success) {
this.CLEAR_ALL_SETTLE()
MessageBox({
title: '支付成功',
message: '您的订单会尽快给您处理',
confirmButtonText: '完成'
}).alert().then(action => {
this.$router.push({ path: '/center/mycenter'});
//这里路由跳转没生效啊
});
} else {
MessageBox({
title: '支付失败',
message: '支付遇到问题,请尝试重新支付',
showCancelButton: true,
confirmButtonText: '重新支付'
}).confirm().then(action => {
});
}
试试这样呢?