强化前端格式检测
This commit is contained in:
@@ -47,7 +47,7 @@ const activeMembers = computed(() => {
|
||||
const participants = active.value?.participants || []
|
||||
return participants
|
||||
.map(item => {
|
||||
const remark = getParticipantRemark(item)
|
||||
const remark = getParticipantRemark()
|
||||
const name = remark ? `${remark}(${item.display_name})` : item.display_name
|
||||
return `${roleLabel(item.role)}:${name}`
|
||||
})
|
||||
@@ -58,7 +58,7 @@ const canSend = computed(() => content.value.trim() !== '' || attachments.value.
|
||||
// 桌面通知
|
||||
const desktopNotification = useDesktopNotification('admin')
|
||||
|
||||
function getParticipantRemark(participant: any) {
|
||||
function getParticipantRemark() {
|
||||
if (!active.value) return ''
|
||||
const myParticipant = active.value.participants?.find(
|
||||
p => p.participant_type === 'admin' && p.participant_id === currentAdminId
|
||||
|
||||
Reference in New Issue
Block a user