diff --git a/src/views/system/UserAnnouncementList.vue b/src/views/system/UserAnnouncementList.vue index f8fb667f..fbbf16f4 100644 --- a/src/views/system/UserAnnouncementList.vue +++ b/src/views/system/UserAnnouncementList.vue @@ -77,7 +77,7 @@ // import { filterObj } from '@/utils/util' // import ShowAnnouncement from '@/components/tools/ShowAnnouncement' // import DynamicNotice from '../../components/tools/DynamicNotice' -import { getAction, deleteAction } from '@/api/manage' +import { getAction, deleteAction, postAction } from '@/api/manage' import { JeroListMixin } from '@/mixins/JeroListMixin' // import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' import Vue from 'vue' @@ -263,7 +263,7 @@ export default { content: this.$t('message.my.areAllLabelsRead'), onOk: () => { const selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) - getAction(this.url.readAllMsg, { ids: selectedRowKeys.join(',') }).then((res) => { + postAction(this.url.readAllMsg, { ids: selectedRowKeys.join(',') }).then((res) => { if (res.success) { this.selectedRowKeys = [] this.$message.success(this.$t('operationSuccessful')) @@ -282,7 +282,7 @@ export default { this.selectedRowKeys = value }, msgContentClick (row) { - getAction(this.url.readAllMsg, { ids: row.id }) + postAction(this.url.readAllMsg, { ids: row.id }) }, handleDel () { if (this.selectedRowKeys.length > 0) {