Commit b6a07d45 by 段启岩

添加消息的store

parent 223b4039
const defaultUser = {
}
export const state = () => ({
unReadCount: null,
})
export const mutations = {
setUnReadCount (state, unReadCount) {
Object.assign(state, {
unReadCount
})
},
clearUnReadCount (state) {
Object.assign(state, {
unReadCount: 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