Compare commits
No commits in common. "7f4b3299431056949c1ee4cb73b871593ac9d79f" and "ceab393f3754d1d1ac0f7951d4956acc1b826428" have entirely different histories.
7f4b329943
...
ceab393f37
@ -199,17 +199,15 @@
|
|||||||
* 执行设置已读
|
* 执行设置已读
|
||||||
* @param id 参数
|
* @param id 参数
|
||||||
*/
|
*/
|
||||||
async function handleSetRead(record) {
|
async function handleSetRead(id) {
|
||||||
dialog.warning({
|
dialog.warning({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '确定标记为已读?',
|
content: '确定标记为已读?',
|
||||||
positiveText: '确定',
|
positiveText: '确定',
|
||||||
negativeText: '取消',
|
negativeText: '取消',
|
||||||
onPositiveClick: async () => {
|
onPositiveClick: async () => {
|
||||||
record
|
record.id ? await setRead(record.id) : await setRead(rowKeys.value);
|
||||||
? await setRead({ idList: [record.id] })
|
message.success('删除成功');
|
||||||
: await setRead({ idList: selectionData.value });
|
|
||||||
message.success('标记成功');
|
|
||||||
reloadTable();
|
reloadTable();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user