修复前端不能删除的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

@ -2,6 +2,6 @@ package base
const ( const (
APP_NAME = "AnyLink" APP_NAME = "AnyLink"
// 添加macvtap支持 // 修复前端bug
APP_VER = "0.6.1" APP_VER = "0.6.2"
) )

View File

@ -1,3 +0,0 @@
> 1%
last 2 versions
not dead

27581
web/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,14 +9,12 @@
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.1", "axios": "^0.21.1",
"caniuse-lite": "^1.0.30001242",
"chokidar": "^3.5.2",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"echarts": "^4.9.0", "echarts": "^4.9.0",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-count-to": "^1.0.13", "vue-count-to": "^1.0.13",
"vue-router": "^3.4.6" "vue-router": "^3.5.2"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "~4.5.0",
@ -26,7 +24,25 @@
"eslint": "^6.7.2", "eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2", "eslint-plugin-vue": "^6.2.2",
"vue-cli-plugin-element": "~1.0.1", "vue-cli-plugin-element": "~1.0.1",
"vue-template-compiler": "^2.6.11", "vue-template-compiler": "^2.6.11"
"path-parse": "1.0.7" },
} "eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
} }

View File

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

View File

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

View File

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

View File

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

View File

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