@@ -117,9 +117,6 @@
deliveryId: this.deliverListData[this.listIndex][0].deliveryId,
}
$http.post('/api/v1/mp/logistics/query', data).then(res => {
- if (res.code == 500) {
- uni.hideToast();
- }
if (res.code == 0) {
this.logistics = res.data.map(item=>{
return {
@@ -128,6 +125,9 @@
})
console.log(this.logistics);
+ }else {
+ this.logistics = ''
+ uni.hideToast();
},