提交 676d34a5 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 6f6068c9
......@@ -48,11 +48,11 @@ export default {
methods: {
handleChange(val) {
if (typeof val === 'number' && this.msgList[val].isShow === 0) {
cAction.Other.setMyMsg(this.msgList[val].id).then(json => {
cAction.Other.setMsgWmp(this.msgList[val].id).then(json => {
this.getData()
cAction.Other.getNavMsg().then(data => {
this.$store.commit('myMsg', data.num)
})
// cAction.Other.getNavMsg().then(data => {
// this.$store.commit('myMsg', data.num)
// })
})
}
},
......@@ -61,6 +61,7 @@ export default {
cAction.Other.getMyMsg(params).then(response => {
this.msgList = response.list
this.page.total = parseInt(response.count)
this.$store.commit('myMsg', response.countNum)
})
},
handleCurrentChange() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论