mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-02 19:08:12 +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);
|
dispatch("getBasicData", null);
|
||||||
if (state.userId > 0) {
|
if (state.userId > 0) {
|
||||||
|
state.cacheUserBasic = state.cacheUserBasic.filter(({userid}) => userid !== state.userId)
|
||||||
dispatch("saveUserBasic", state.userInfo);
|
dispatch("saveUserBasic", state.userInfo);
|
||||||
}
|
}
|
||||||
resolve()
|
resolve()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user