mirror of
https://github.com/eoao/cloud-mail.git
synced 2026-05-06 21:51:48 +08:00
删除新邮件底部弹窗
This commit is contained in:
@@ -110,19 +110,7 @@ async function latest() {
|
||||
if (!existIds.has(email.emailId)) {
|
||||
|
||||
existIds.add(email.emailId)
|
||||
const flag = scroll.value.addItem(email)
|
||||
|
||||
if (innerWidth > 1367 && flag) {
|
||||
ElNotification({
|
||||
type: 'primary',
|
||||
message: `<div style="cursor: pointer;"><div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis; font-weight: bold;font-size: 16px;margin-bottom: 5px;">${email.name}</div><div style="color: teal;">${email.subject}</div></div>`,
|
||||
position: 'bottom-right',
|
||||
dangerouslyUseHTMLString: true,
|
||||
onClick: () => {
|
||||
jumpContent(email);
|
||||
}
|
||||
})
|
||||
}
|
||||
scroll.value.addItem(email)
|
||||
|
||||
await sleep(50)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user