Kaynağa Gözat

添加异常代码~

hotfix/210830_二组需求分支
王饶冀 3 yıl önce
ebeveyn
işleme
d8503efb31
1 değiştirilmiş dosya ile 12 ekleme ve 1 silme
  1. 12
    1
      pages/index/components/listDetails/Details.js

+ 12
- 1
pages/index/components/listDetails/Details.js Dosyayı Görüntüle

@@ -97,7 +97,6 @@ Page({
this.setData({
currentData: listDetail,
type: listDetail.type,
pageLoading: false,
isCollect: res.data.booleanIsCollect == 0 ? false : true,
})
if (this.data.currentData.customerId != this.data.userCustomerId) {
@@ -107,8 +106,20 @@ Page({
})
this.getListData();
}
}else{
wx.showToast({
title: "数据异常~",
icon: 'success',
duration: 2000
})
}
this.setData({
pageLoading: false,
})
}).catch(err => {
this.setData({
pageLoading: false,
})
console.log(err, 'error appletLogin')
})
},

Loading…
İptal
Kaydet