feat: 更新通知中心1

This commit is contained in:
wwz 2025-04-12 13:45:35 +08:00
parent 2fe5e38e85
commit 7fb9f30c45
1 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
"> ">
<div> <div v-if="scope.row.isRead == 1">
<el-button link type="primary" @click="refAddHaocaiTakinShow(scope.row, '')"> <el-button link type="primary" @click="refAddHaocaiTakinShow(scope.row, '')">
设为已读 设为已读
</el-button> </el-button>
@ -117,9 +117,9 @@ const matchedProducts = (data: string) => {
// //
async function refAddHaocaiTakinShow(item: any, type: string) { async function refAddHaocaiTakinShow(item: any, type: string) {
if (type === "delete") { if (type === "delete") {
Api.delete(item.id); await Api.delete(item.id);
} else { } else {
Api.edit({ await Api.edit({
noticeIdList: [item.id], noticeIdList: [item.id],
}); });
} }