修复前端不能删除的bug

This commit is contained in:
bjdgyc
2021-08-24 20:08:12 +08:00
parent e4270f724b
commit b4f88e154c
9 changed files with 27612 additions and 19 deletions

View File

@@ -118,8 +118,8 @@
<el-popconfirm
style="margin-left: 10px"
@onConfirm="handleDel(scope.row)"
title="确定要删除用户吗?">
@confirm="handleDel(scope.row)"
title="确定要删除用户吗?">
<el-button
slot="reference"
size="mini"

View File

@@ -52,7 +52,7 @@
<template slot-scope="scope">
<el-popconfirm
class="m-left-10"
@onConfirm="handleDel(scope.row)"
@confirm="handleDel(scope.row)"
title="确定要删除审计日志吗?">
<el-button
slot="reference"

View File

@@ -76,13 +76,12 @@
<el-popconfirm
class="m-left-10"
@onConfirm="handleDel(scope.row)"
@confirm="handleDel(scope.row)"
title="确定要删除IP映射吗">
<el-button
slot="reference"
size="mini"
type="danger"
@click="handleDelete(scope.row)">删除
type="danger">删除
</el-button>
</el-popconfirm>

View File

@@ -120,7 +120,7 @@
<el-popconfirm
class="m-left-10"
@onConfirm="handleDel(scope.row)"
@confirm="handleDel(scope.row)"
title="确定要删除用户吗?">
<el-button
slot="reference"

View File

@@ -95,7 +95,7 @@
<el-popconfirm
class="m-left-10"
@onConfirm="handleOffline(scope.row)"
@confirm="handleOffline(scope.row)"
title="确定要下线用户吗?">
<el-button
slot="reference"