@ -68,6 +68,7 @@ Page({
},
login() {
const that = this
wx.removeStorageSync('token')
wx.login({
success: (res) => {
login({
@ -84,6 +85,9 @@ Page({
that.getUserInfo()
}).catch(err => {
console.log(err);
wx.redirectTo({
url: '/pages/register/register',
})
@ -19,7 +19,7 @@
</view>
<load-more loadVisible="{{loadMoreVisible}}" loadType="{{loadMoreType}}"></load-more>
<van-empty description="描述文字" wx:if="{{nodata}}" />
<van-empty description="暂无消息" wx:if="{{nodata}}" />
</scroll-view>
<custom-tab-bar></custom-tab-bar>
@ -69,7 +69,7 @@ Page({
bindPhone(e.detail.code).then(res=>{
console.log(res);
if(res.code === 200){
wx.switchTab({
url: '/pages/index/index',
}