bug修复

This commit is contained in:
‘huanghaiixia’
2026-01-13 17:14:40 +08:00
parent d92be3d714
commit cbec6db675
8 changed files with 50 additions and 26 deletions

View File

@ -223,8 +223,8 @@
const viewOpen = ref(false);
const viewData = ref({});
function handleView(record, num) {
viewData.value = {...record, typeId: num};
function handleView(record) {
viewData.value = {...record};
viewOpen.value = true;
}
function handleViewClose() {
@ -385,7 +385,7 @@
await setSystemNoticeRead([ids]);
} else {
await setOaRead([ids]);
handleView(record, num)
handleView(record)
}
if (listData.value[num - 1].unreadNum > 0) listData.value[num - 1].unreadNum -= 1;
}