Commit 1d67e473 authored by qipeng's avatar qipeng

取消 errorMessage的判断

parent 05dc3de3
......@@ -165,22 +165,31 @@ export default {
}
this.$request('order/userOrder/refundTicket',data).then((res)=>{
if(res.code == '00'){
if(res.data.errorMessage!=''&&res.data.errorMessage!=undefined&&res.data.refundStatus!=6){
uni.showToast({
title: res.data.errorMessage,
icon: 'none'
})
}else{
uni.showToast({
title: '申请成功',
icon: 'none'
})
setTimeout(()=>{
uni.reLaunch({
url: '/pages/my/order/orderList/orderList'
})
},1000)
}
// if(res.data.errorMessage!=''&&res.data.errorMessage!=undefined&&res.data.refundStatus!=6){
// uni.showToast({
// title: res.data.errorMessage,
// icon: 'none'
// })
// }else{
// uni.showToast({
// title: '申请成功',
// icon: 'none'
// })
// setTimeout(()=>{
// uni.reLaunch({
// url: '/pages/my/order/orderList/orderList'
// })
// },1000)
// }
uni.showToast({
title: '申请成功',
icon: 'none'
})
setTimeout(()=>{
uni.reLaunch({
url: '/pages/my/order/orderList/orderList'
})
},1000)
}else{
......
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