【fix bug】delete请求改为post请求
This commit is contained in:
@@ -423,7 +423,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const that = this
|
||||
getAction(that.url.delete2, { roleId: this.currentRoleId, userId: id }).then((res) => {
|
||||
postAction(that.url.delete2, { roleId: this.currentRoleId, userId: id }).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message)
|
||||
that.loadData2()
|
||||
@@ -450,7 +450,7 @@ export default {
|
||||
title: '确认删除',
|
||||
content: '是否删除选中数据?',
|
||||
onOk: function () {
|
||||
getAction(that.url.deleteBatch2, { roleId: that.currentRoleId, userIds: ids }).then((res) => {
|
||||
postAction(that.url.deleteBatch2, { roleId: that.currentRoleId, userIds: ids }).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message)
|
||||
that.loadData2()
|
||||
|
||||
Reference in New Issue
Block a user