Commit 40d4d50f authored by fwz's avatar fwz

bug

parent 710af100
...@@ -263,7 +263,10 @@ export default { ...@@ -263,7 +263,10 @@ export default {
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '个人中心' title: '个人中心'
}); });
} },
onShow() {
this.getUserInfo()
},
}; };
</script> </script>
......
...@@ -229,6 +229,8 @@ export default { ...@@ -229,6 +229,8 @@ export default {
}); });
}, },
goCarTime(id){ goCarTime(id){
console.log("123")
console.log(id)
uni.navigateTo({ uni.navigateTo({
url: '/pagesD/pages/personal/carTime?orderId=' + id url: '/pagesD/pages/personal/carTime?orderId=' + id
}) })
......
...@@ -59,9 +59,11 @@ export default { ...@@ -59,9 +59,11 @@ export default {
orderRefund(){ orderRefund(){
let opts = { url: '/app/user/order/refund', method: 'post' }; let opts = { url: '/app/user/order/refund', method: 'post' };
let orderRefund = { let orderRefund = {
orderId: this.orderInfo.id, id: this.orderInfo.id,
reason: this.items[1].value reason: this.value1
} }
console.log(orderRefund)
console.log(this.value1)
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({
......
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