Skip to content

Commit

Permalink
fix: 修复已读消息弹窗里面切换 tab 时数据重复问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Evansy committed Nov 12, 2023
1 parent 338eb77 commit 4e0d78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MsgReadModal/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ watch(data, (val, oldVal) => {
// 切换 Tab 也请求
watch(active, (val, oldVal) => {
if (val !== oldVal && msgId.value) {
if (val !== oldVal && msgId.value && curList.value.cursor === '') {
send({
params: {
searchType: active.value,
Expand Down

0 comments on commit 4e0d78f

Please sign in to comment.