fix:通知和设备分配/回收
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m49s

This commit is contained in:
luo
2026-07-28 17:23:23 +08:00
parent b51a3f5537
commit ee266c51cc
7 changed files with 114 additions and 69 deletions

View File

@@ -3,9 +3,7 @@
<div class="notice" @click.stop>
<div class="header">
<span class="text">通知</span>
<button class="read-all" type="button" @click="handleMarkAllRead">
全部已读
</button>
<button class="read-all" type="button" @click="handleMarkAllRead">全部已读</button>
</div>
<div class="bar">
@@ -119,7 +117,7 @@
ElMessage.info(item.body || '该通知暂无可跳转目标')
return
}
if (!navigateNotificationTarget(router, targetResponse.data)) {
if (!navigateNotificationTarget(router, item.ref_type, targetResponse.data)) {
ElMessage.info(item.body || '该通知暂无可跳转目标')
} else {
close()