diff --git a/pages/user/order_list/order_list.js b/pages/user/order_list/order_list.js index 9e151fd..759c741 100644 --- a/pages/user/order_list/order_list.js +++ b/pages/user/order_list/order_list.js @@ -1903,11 +1903,11 @@ Page({ } if(callback) callback(res); } else { - wx.showToast({ - title: res.data.msg, - icon: 'none', - duration: 2000 - }) + // wx.showToast({ + // title: res.data.msg, + // icon: 'none', + // duration: 2000 + // }) } }) }, @@ -2001,7 +2001,7 @@ Page({ searchOnline() { let currentIndex = this.data.currentIndex; - console.log('online',this.data.searchContent, currentIndex); + // console.log('online',this.data.searchContent, currentIndex); if(this.data.searchContent) { console.log(this.data.searchContent); if(currentIndex == 0) { @@ -2032,11 +2032,13 @@ Page({ }).catch(err => { // console.log('卡项订单请求失败', err); this.setData({ - cardList: null, + cardList: [], + is_no_data2: 0, + is_no_more2: 0, }); wx.showToast({ - title: err.data.data, - icon: 'error', + title: '搜索失败', + icon: 'none', }); }); };