我的消息的删除
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user