Compare commits

..

No commits in common. "7f4b3299431056949c1ee4cb73b871593ac9d79f" and "ceab393f3754d1d1ac0f7951d4956acc1b826428" have entirely different histories.

View File

@ -199,17 +199,15 @@
* 执行设置已读
* @param id 参数
*/
async function handleSetRead(record) {
async function handleSetRead(id) {
dialog.warning({
title: '提示',
content: '确定标记为已读?',
positiveText: '确定',
negativeText: '取消',
onPositiveClick: async () => {
record
? await setRead({ idList: [record.id] })
: await setRead({ idList: selectionData.value });
message.success('标记成功');
record.id ? await setRead(record.id) : await setRead(rowKeys.value);
message.success('删除成功');
reloadTable();
},
});