Commit 72e98070 authored by qipeng's avatar qipeng

退单页面 判定值errorMessage

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