2025/9/27/23:14
This commit is contained in:
@@ -13,7 +13,8 @@ Component({
|
||||
app.fetchRawCardData().then(cards => {
|
||||
this.setData({ processedCardsData: cards });
|
||||
}).catch(err => {
|
||||
wx.showToast({ title: '加载失败', icon: 'none' });
|
||||
console.log("错误fetchRaw:",err)
|
||||
wx.showToast({ title: '加载失败1', icon: 'none' });
|
||||
});
|
||||
const apiBaseUrl = `${envConfig.apiBaseUrl}`;
|
||||
this.setData({
|
||||
@@ -157,7 +158,7 @@ Component({
|
||||
});
|
||||
|
||||
}).catch(err => {
|
||||
wx.showToast({ title: '加载失败', icon: 'none' });
|
||||
wx.showToast({ title: '加载失败2', icon: 'none' });
|
||||
this.setData({
|
||||
refresherTriggered: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user