Commit fecb3fd0 by Mr. Lan

修改登录日志无法清空的bug.

parent 67176f12
...@@ -20,7 +20,7 @@ export function delLogininfor(infoId) { ...@@ -20,7 +20,7 @@ export function delLogininfor(infoId) {
// 清空登录日志 // 清空登录日志
export function cleanLogininfor() { export function cleanLogininfor() {
return request({ return request({
url: '/api/v1/loginlog/clean', url: '/api/v1/loginlog',
method: 'delete' method: 'delete'
}) })
} }
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
v-permisaction="['system:sysloginlog:remove']" v-permisaction="['system:sysloginlog:clean']"
type="danger" type="danger"
icon="el-icon-delete" icon="el-icon-delete"
size="mini" size="mini"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment