mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 18:37:02 +08:00
前后端全面升级
This commit is contained in:
17
cmdb-ui/src/store/global/notice.js
Normal file
17
cmdb-ui/src/store/global/notice.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const notice = {
|
||||
state: {
|
||||
totalUnreadNum: 0,
|
||||
appUnreadNum: []
|
||||
},
|
||||
mutations: {
|
||||
SET_TOTAL_UNREAD_NUM: (state, totalUnreadNum) => {
|
||||
state.totalUnreadNum = totalUnreadNum
|
||||
},
|
||||
SET_APP_UNREAD_NUM: (state, appUnreadNum) => {
|
||||
state.appUnreadNum = appUnreadNum
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
}
|
||||
}
|
||||
export default notice
|
Reference in New Issue
Block a user