pages/usercenter/index.js @@ -90,6 +90,11 @@ }, logout() { app.globalData.onLaunch.forEach(fun => { if (typeof fun === 'function') { fun(); } }); wx.reLaunch({ url: '/pages/usercenter/login/login-home/index', });