Commit 7921a181 by xiexiaoqin

fix: 有未读消息时才调用已读消息接口

parent 5627f248
...@@ -968,10 +968,12 @@ create.Page({ ...@@ -968,10 +968,12 @@ create.Page({
"loading.dynamic": false "loading.dynamic": false
}); });
// 设置已读 // 设置已读
setRead(id).then(res => { if (separate !== -1) {
this.$store.data.isIndexAffairListNeedUpdate = true; setRead(id).then(res => {
this.update(); this.$store.data.isIndexAffairListNeedUpdate = true;
}); this.update();
});
}
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment