Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Chatopera OpenSource
/
ferry_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a6e2af38
authored
Aug 27, 2020
by
lyl_task
Committed by
GitHub
Aug 27, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9 from lanyulei/dev
修改登录日志无法清空的bug.
parents
67176f12
fecb3fd0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/api/system/loginlog.js
src/views/system/loginlog/index.vue
src/api/system/loginlog.js
View file @
a6e2af38
...
@@ -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'
})
})
}
}
...
...
src/views/system/loginlog/index.vue
View file @
a6e2af38
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment