调试未读人数
This commit is contained in:
@@ -56,7 +56,7 @@ Page({
|
||||
return false;
|
||||
}
|
||||
this.init()
|
||||
getDot();
|
||||
this.getUnReadNumber()
|
||||
},
|
||||
async init() {
|
||||
const result = await getUserInfo();
|
||||
@@ -67,6 +67,17 @@ Page({
|
||||
this.setData({ user: result.data })
|
||||
wx.setStorageSync('user', result.data)
|
||||
},
|
||||
async getUnReadNumber() {
|
||||
const dot = await getDot();
|
||||
this.setData({
|
||||
dot
|
||||
})
|
||||
},
|
||||
bindTenement() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/handleLogin/index',
|
||||
})
|
||||
},
|
||||
connect() {
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
|
Reference in New Issue
Block a user