Browse Source

完善问题

master
yunuo970428 2 years ago
parent
commit
1358fc0c96
  1. 8
      supervise-message-ui/src/views/message/unreadmessage.vue

8
supervise-message-ui/src/views/message/unreadmessage.vue

@ -246,14 +246,16 @@ export default {
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)' background: 'rgba(0, 0, 0, 0.7)'
}) })
const params = [] const tableParams = {
list: []
}
this.multipleSelection.forEach((e) => { this.multipleSelection.forEach((e) => {
params.push({ tableParams.list.push({
type: e.type, type: e.type,
sid: e.sid sid: e.sid
}) })
}) })
req.changeRead(params).then(resp => { req.changeRead(tableParams).then(resp => {
if (resp.success) { if (resp.success) {
this.$message({ type: 'success', message: '操作成功', showClose: true }) this.$message({ type: 'success', message: '操作成功', showClose: true })
} }

Loading…
Cancel
Save