mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 13:08:13 +00:00
fix: 修改个人头像缓存不更新的情况
This commit is contained in:
parent
174df30978
commit
e69a91feb3
1
resources/assets/js/store/actions.js
vendored
1
resources/assets/js/store/actions.js
vendored
@ -523,6 +523,7 @@ export default {
|
||||
//
|
||||
dispatch("getBasicData", null);
|
||||
if (state.userId > 0) {
|
||||
state.cacheUserBasic = state.cacheUserBasic.filter(({userid}) => userid !== state.userId)
|
||||
dispatch("saveUserBasic", state.userInfo);
|
||||
}
|
||||
resolve()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user