fix: 修复本地群消息通知没有会员昵称的问题

This commit is contained in:
kuaifan 2025-03-25 18:31:44 +08:00
parent d23d77ff90
commit 562697da27

View File

@ -1074,7 +1074,7 @@ export default {
this.__notificationId = id;
//
const notificationFuncA = async (title) => {
const tempUser = (await this.$store.dispatch("getUserData", userid).catch(_ => {}))?.data;
const tempUser = await this.$store.dispatch("getUserData", userid).catch(_ => {});
if (dialog_type === 'group' && tempUser) {
title = `${title} (${tempUser.nickname})`
}