diff --git a/src/models/global.js b/src/models/global.js index 8af75a6a0e50b042c500f5d251e82502cc870671..bbbee7025d035bfa6953f3c14374872a82189083 100644 --- a/src/models/global.js +++ b/src/models/global.js @@ -20,6 +20,10 @@ export default { type: 'saveNotices', payload: data, }); + yield put({ + type: 'user/changeNotifyCount', + payload: data.length, + }); }, *clearNotices({ payload }, { put, select }) { yield put({