Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
b300ef49
Commit
b300ef49
authored
Dec 15, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 页面缓存优化
parent
232f14ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/App.vue
src/App.vue
+4
-1
src/router/index.js
src/router/index.js
+2
-1
No files found.
src/App.vue
View file @
b300ef49
<
template
>
<div
id=
"app"
>
<router-view/>
<keep-alive
exclude=
"Hello"
>
<router-view
v-if=
"$route.meta.keepAlive"
/>
</keep-alive>
<router-view
v-if=
"!$route.meta.keepAlive"
/>
</div>
</
template
>
...
...
src/router/index.js
View file @
b300ef49
...
...
@@ -386,7 +386,8 @@ export const asyncRouterMap = [
perms
:
[],
title
:
'
寄售单列表
'
,
icon
:
'
user
'
,
noCache
:
true
noCache
:
true
,
keepAlive
:
true
}
},
{
...
...
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