pages/home/home.js
@@ -568,7 +568,7 @@ console.error('保存项目选择失败:', err); wx.showToast({ title: '保存失败,请重试', icon: 'error', icon: 'success', duration: 2000 }); }); @@ -634,6 +634,7 @@ that.codeLogin(code); } else { console.log('登录失败!' + res.errMsg); } } }); @@ -674,7 +675,11 @@ this.initData(); } } else { wx.showToast({ title: 'title', icon: 'error', duration: 2000 }) } }).catch(error => { // 加载完成后隐藏加载动画