消息跳转:区分市局和西海岸

This commit is contained in:
guoyue 2022-10-11 17:03:15 +08:00
parent 177cc4e9c7
commit 240784a3b2
1 changed files with 11 additions and 5 deletions

View File

@ -262,6 +262,8 @@ const goPage = (item) => {
} }
} }
} }
let isQingDao = whoShow.itShowQingDao;
// //
const read = (item) => { const read = (item) => {
if (selectData.value.length === 0 && !item) { if (selectData.value.length === 0 && !item) {
@ -272,7 +274,9 @@ const read = (item) => {
if (item) { if (item) {
// //
if (item.readStatus === 1) { if (item.readStatus === 1) {
if(isQingDao) {
goPage(item) goPage(item)
}
// //
return return
} }
@ -281,10 +285,12 @@ const read = (item) => {
message.success('通知已读!') message.success('通知已读!')
mybus.emit('getMynotice') mybus.emit('getMynotice')
init() init()
if (isQingDao) {
// //
setTimeout(() => { setTimeout(() => {
goPage(item) goPage(item)
}, 1000) }, 1000)
}
} else { } else {
message.error('操作失败!') message.error('操作失败!')
} }