Commit 9fa9afea authored by 崔佳豪's avatar 崔佳豪

fix: 消息铃铛消息已读问题

parent 58a4b16f
...@@ -134,11 +134,12 @@ class Notifier { ...@@ -134,11 +134,12 @@ class Notifier {
if (isAll) hisIDs = this.messageCache.messages.map(item => item.id); if (isAll) hisIDs = this.messageCache.messages.map(item => item.id);
const self = this; const self = this;
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
postInformationStatus({ postInformationStatus({
query: {
userID: this.userInfo.OID || window.globalConfig.userInfo.OID, userID: this.userInfo.OID || window.globalConfig.userInfo.OID,
hisID: hisIDs.join(','), hisID: hisIDs.join(','),
isAll: isAll ? 1 : '', isAll: isAll ? 1 : '',
}
}) })
.then(res => { .then(res => {
if (res.statusCode !== ERR_OK) { if (res.statusCode !== ERR_OK) {
......
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