我的消息的删除

This commit is contained in:
qq787203167
2022-03-03 17:01:36 +08:00
parent aa03898945
commit 7611b33763
@@ -82,7 +82,7 @@
<script>
import { filterObj } from '@/utils/util'
import { getAction, putAction } from '@/api/manage'
import { getAction, putAction , deleteAction } from '@/api/manage'
import ShowAnnouncement from '@/components/tools/ShowAnnouncement'
import { JeroListMixin } from '@/mixins/JeroListMixin'
import DynamicNotice from '../../components/tools/DynamicNotice'
@@ -192,7 +192,7 @@
content: that.$t('ConfirmBatchDeletion'),
onOk: function() {
let selectedRowKeys = JSON.parse(JSON.stringify(that.selectedRowKeys))
getAction(that.url.deleteUrl, { ids: selectedRowKeys.join(',') }).then((res) => {
deleteAction(that.url.deleteUrl, { ids: selectedRowKeys.join(',') }).then((res) => {
if (res.success) {
that.selectedRowKeys = []
that.$message.success(res.message)