Skip to content

Commit

Permalink
fix: 修复用户上下线时,在线状态未更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Evansy committed Oct 29, 2023
1 parent 6f1e429 commit 40b26cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Home/Chat/components/UserList/UserItem/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import ContextMenu from '../ContextMenu/index.vue'
import { GROUP_ROLE_MAP } from '@/enums/group'
const props = defineProps<{ user: UserItem }>()
const user = toRef(props.user)
const userInfo = useUserInfo(user.value?.uid)
const propUser = toRef(props.user)
const userInfo = useUserInfo(propUser.value?.uid)
const isShowMenu = ref(false) // 是否显示菜单
// 弹出定位
const menuOptions = ref({ x: 0, y: 0 })
Expand Down

0 comments on commit 40b26cd

Please sign in to comment.