From 0f4ada2fe9fed3bde5889ee17a05a03099c89bb9 Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 16 Nov 2023 14:23:50 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=88=91=E7=9A=84=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/UserAnnouncementList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {