强化前端格式检测

This commit is contained in:
yml2213
2026-06-08 06:46:47 +08:00
parent 500f511185
commit 04f42e5a96
23 changed files with 17 additions and 64 deletions
@@ -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