修复线上头像刷新不同步问题
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run
This commit is contained in:
parent
bc99d083c9
commit
e0e3cfdd12
@ -99,12 +99,11 @@ export function createApp() {
|
|||||||
|
|
||||||
//处理OA、墨册强制刷新时,聊天同步强制刷新
|
//处理OA、墨册强制刷新时,聊天同步强制刷新
|
||||||
window.doLocationRefresh = () => {
|
window.doLocationRefresh = () => {
|
||||||
//同时先清除聊天记录缓存
|
|
||||||
useDialogueListStore().dialogueList.value = []
|
|
||||||
dialogueStore().setDialogue = []
|
|
||||||
uniStorage.removeItem('dialogueList')
|
uniStorage.removeItem('dialogueList')
|
||||||
uniStorage.removeItem('dialogue')
|
uniStorage.removeItem('dialogue')
|
||||||
location.reload(true)
|
useUserStore().loadSetting()
|
||||||
|
useDialogueListStore().dialogueList.value = []
|
||||||
|
// location.reload(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
//检查聊天页面是否可用
|
//检查聊天页面是否可用
|
||||||
|
Loading…
Reference in New Issue
Block a user