Commit 0f838a4f authored by 徐一鸣's avatar 徐一鸣

消息通知fixed

parent e64254a4
......@@ -16,9 +16,6 @@ export default {
getCurrentUser() {
this.$api.user.getNowUser().then(({ data }) => {
if (data.success == 1) {
console.log("--- --- ---");
console.log(data.data);
console.log("--- --- ---");
this.$store.commit("userInfofun", data.data);
} else {
console.log(data.errMsg);
......@@ -35,7 +32,7 @@ export default {
})
.then(({ data }) => {
if (data.success === 1) {
this.setUnreadMessageCount(data.data.total || 0);
this.$store.commit("setUnreadMessageCount", data.data.total || 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