修改复制的请求方式

This commit is contained in:
qq787203167
2022-04-27 21:45:14 +08:00
parent 993a473818
commit e8a4f8f1a6
@@ -608,7 +608,7 @@ import {Base64} from 'js-base64'
content: _this.$t('ConfirmReplication'), content: _this.$t('ConfirmReplication'),
onOk() { onOk() {
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys)) let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
deleteAction(_this.url.copyUrl, { ids: idList.join(',') }).then((res) => { getAction(_this.url.copyUrl, { ids: idList.join(',') }).then((res) => {
if (res.success) { if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = [] _this.selectedRowKeys = []