Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
bims
Commits
191a177a
Commit
191a177a
authored
Oct 13, 2023
by
杨芳博-DEL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加缓存
parent
33d80968
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
index.vue
src/layout/index.vue
+4
-1
charge-query.js
src/router/modules/charge-query.js
+4
-1
No files found.
src/layout/index.vue
View file @
191a177a
<
template
>
<
template
>
<div>
<div>
<router-view></router-view>
<keep-alive>
<router-view
v-if=
"$route.meta && $route.meta.keepAlive"
></router-view>
</keep-alive>
<router-view
v-if=
"!($route.meta && $route.meta.keepAlive)"
></router-view>
</div>
</div>
</
template
>
</
template
>
...
...
src/router/modules/charge-query.js
View file @
191a177a
...
@@ -8,7 +8,10 @@ export default {
...
@@ -8,7 +8,10 @@ export default {
{
{
path
:
''
,
path
:
''
,
name
:
"
chargeQueryIndex
"
,
name
:
"
chargeQueryIndex
"
,
component
:
()
=>
import
(
/* webpackChunkName: "chargeQuery" */
"
@/views/charge-query/index.vue
"
)
component
:
()
=>
import
(
/* webpackChunkName: "chargeQuery" */
"
@/views/charge-query/index.vue
"
),
meta
:{
keepAlive
:
true
}
},
},
{
{
path
:
"
detail
"
,
path
:
"
detail
"
,
...
...
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