|
|
|
@ -63,8 +63,14 @@ const tabs = [ |
|
|
|
|
|
|
|
const onTabClick = (item) => { |
|
|
|
if (item.key === props.active) return; |
|
|
|
console.log(item,'item') |
|
|
|
if (router.currentRoute.value.path !== item.route) { |
|
|
|
router.replace(item.route); |
|
|
|
if(item.label ==='非现场'){ |
|
|
|
router.push(item.route); |
|
|
|
}else{ |
|
|
|
router.replace(item.route); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
// console.log('获取消息未读数量2222'); |
|
|
|
// fetchMessageUnreadCount(); |
|
|
|
|