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

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) => {
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('操作失败!')
}