Commit 7b0bd01e authored by miaojiale's avatar miaojiale

消息

parent 74501d35
......@@ -216,8 +216,9 @@ export default {
}).then((res) => {
if (res.code == 1) {
this.$store.commit("user/setGetMessageFlag", false)
this.messageCount = res.data.total
this.messageList = [...this.messageList, ...res.data.records]
// this.messageCount = res.data.page.total
this.messageCount = res.data.unReadNum
this.messageList = [...this.messageList, ...res.data.page.records]
// console.log(res.data.total)
} else {
this.messageCount = 0
......
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