diff --git a/supervise-message-ui/src/views/message/unreadmessage.vue b/supervise-message-ui/src/views/message/unreadmessage.vue index ce6c609b..443924af 100644 --- a/supervise-message-ui/src/views/message/unreadmessage.vue +++ b/supervise-message-ui/src/views/message/unreadmessage.vue @@ -246,14 +246,16 @@ export default { spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }) - const params = [] + const tableParams = { + list: [] + } this.multipleSelection.forEach((e) => { - params.push({ + tableParams.list.push({ type: e.type, sid: e.sid }) }) - req.changeRead(params).then(resp => { + req.changeRead(tableParams).then(resp => { if (resp.success) { this.$message({ type: 'success', message: '操作成功', showClose: true }) }