fix:退出页面清除当前选中

feature/pay-0615-ch
ch 3 years ago
parent 07f0f61983
commit cdceda6747

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-03-26 14:32:03 * @Date: 2022-03-26 14:32:03
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-14 14:19:46 * @LastEditTime: 2022-06-14 16:58:17
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -84,6 +84,9 @@ export default {
return this.curSessionData ? this.curSessionData.messageList : []; return this.curSessionData ? this.curSessionData.messageList : [];
} }
}, },
destroyed(){
Im.setCurSessionId(null);
},
watch:{ watch:{
msgData(){ msgData(){
this.$nextTick(()=>{ this.$nextTick(()=>{

Loading…
Cancel
Save