feat(notice): 新增公告优先级和未读状态功能,优化公告展示逻辑
This commit is contained in:
@@ -96,4 +96,13 @@ app.use(ElementPlus, {
|
||||
size: Cookies.get('size') || 'default',
|
||||
});
|
||||
|
||||
// 导入公告帮助工具
|
||||
import { initNoticePopupAfterLogin } from '@/utils/noticeHelper'
|
||||
|
||||
app.mount('#app');
|
||||
|
||||
// 应用启动后初始化公告弹窗功能
|
||||
import { nextTick } from 'vue'
|
||||
nextTick(() => {
|
||||
initNoticePopupAfterLogin()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user