Commit d84c49a0 authored by fwz's avatar fwz

退款申请成功,跳转到退款成功页面

parent 56f12964
...@@ -212,6 +212,12 @@ ...@@ -212,6 +212,12 @@
"style": { "style": {
"navigationBarTitleText": "常见问题" "navigationBarTitleText": "常见问题"
} }
},
{
"path": "pages/personal/refundOk",
"style": {
"navigationBarTitleText": "退款成功"
}
} }
] ]
} }
......
...@@ -188,6 +188,7 @@ export default { ...@@ -188,6 +188,7 @@ export default {
}); });
if(!defaultFlagExist){ if(!defaultFlagExist){
this.addressInfo = this.addressList[0] this.addressInfo = this.addressList[0]
this.addressId = this.addressList[0].id
this.addressShow = true this.addressShow = true
} }
} }
......
...@@ -64,9 +64,16 @@ export default { ...@@ -64,9 +64,16 @@ export default {
} }
this.http.httpTokenRequest(opts, orderRefund).then(res => { this.http.httpTokenRequest(opts, orderRefund).then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
uni.showToast({ // uni.showToast({
title: '退款申请成功', // title: '退款申请成功',
icon: 'success', // icon: 'success',
// })
uni.navigateTo({
url: '/pagesD/pages/personal/refundOk'
})
}else {
uni.showModal({
content: res.data.msg,
}) })
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment