diff --git a/front/src/views/mynoticeView/components/NoticeList.vue b/front/src/views/mynoticeView/components/NoticeList.vue index 38fae12d..5b20b970 100644 --- a/front/src/views/mynoticeView/components/NoticeList.vue +++ b/front/src/views/mynoticeView/components/NoticeList.vue @@ -262,6 +262,8 @@ const goPage = (item) => { } } } +let isQingDao = whoShow.itShowQingDao; + // 更改消息状态 const read = (item) => { if (selectData.value.length === 0 && !item) { @@ -272,7 +274,9 @@ const read = (item) => { if (item) { // 已读状态 if (item.readStatus === 1) { - goPage(item) + if(isQingDao) { + goPage(item) + } // 跳转页面 return } @@ -281,10 +285,12 @@ const read = (item) => { message.success('通知已读!') mybus.emit('getMynotice') init() - // 页面跳转 - setTimeout(() => { - goPage(item) - }, 1000) + if (isQingDao) { + // 页面跳转 + setTimeout(() => { + goPage(item) + }, 1000) + } } else { message.error('操作失败!') }