修改首页获取商户,发票选商户没反应的问题,,新增退出登录

This commit is contained in:
2024-04-10 09:31:26 +08:00
parent e3390db414
commit 7249c430b8
8 changed files with 30 additions and 20 deletions

View File

@@ -4,13 +4,11 @@ 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,