This commit is contained in:
2024-04-09 10:43:58 +08:00
parent 417ba1454c
commit ba1817583d
12 changed files with 109 additions and 41 deletions

View File

@@ -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,