Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
47933a3f
Commit
47933a3f
authored
Dec 17, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加下拉菜单,清除缓存项,打包
parent
f74c80da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
clearCache.vue
src/components/system/clearCache.vue
+1
-1
index.js
src/service/index.js
+0
-1
No files found.
src/components/system/clearCache.vue
View file @
47933a3f
...
...
@@ -10,7 +10,7 @@
<el-table-column
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"mini"
plain
type=
"primary"
@
click=
"cache(scope.row.key)"
>
<el-button
size=
"mini"
type=
"primary"
@
click=
"cache(scope.row.key)"
>
清除缓存
</el-button>
</
template
>
...
...
src/service/index.js
View file @
47933a3f
...
...
@@ -339,7 +339,6 @@ export function put(url,data = {}){
}
export
function
del
(
url
,
data
=
{}){
console
.
log
(
url
,
data
)
return
new
Promise
((
resolve
,
reject
)
=>
{
axios
.
delete
(
url
,
data
)
.
then
(
response
=>
{
...
...
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