增加接受刷新token,优化通知公告消息弹窗图标
This commit is contained in:
@@ -2,7 +2,7 @@ import { ElNotification, ElMessageBox } from 'element-plus'
|
||||
import useSocketStore from '@/store/modules/socket'
|
||||
import useUserStore from '@/store/modules/user'
|
||||
import { webNotify } from '@/utils/index'
|
||||
|
||||
import notificationBellIcon from '@/components/Notice/bellIcon/index.vue'
|
||||
export default {
|
||||
onMessage(connection) {
|
||||
connection.on(MsgType.M001, (data) => {
|
||||
@@ -30,7 +30,7 @@ export default {
|
||||
ElNotification({
|
||||
title: import.meta.env.VITE_APP_TITLE,
|
||||
message: `你有${data.data.unReadNotifications.length}条通知公告待查看`,
|
||||
type: 'success',
|
||||
icon: notificationBellIcon,
|
||||
duration: 0
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user