提交
This commit is contained in:
@@ -4,11 +4,13 @@ const { OK } = request
|
||||
|
||||
|
||||
export const getDot = async () => {
|
||||
console.log("获取dot数")
|
||||
const user = wx.getStorageSync('user')
|
||||
if (!user || !user.id) {
|
||||
return;
|
||||
}
|
||||
const { code, message, data } = await getUnReadApproveNumber();
|
||||
console.log('data', data)
|
||||
if (data > 0) {
|
||||
wx.showTabBarRedDot({
|
||||
index: 1,
|
||||
|
Reference in New Issue
Block a user