Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-15 16:53:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
290ffa4fd3f13143933c00d9e1e74322e4e86555
290ffa4f
1 parent
a339552d
fix 修复书籍列表显示问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/views/client/bookDetail.vue
src/views/client/bookDetail.vue
View file @
290ffa4
...
...
@@ -341,6 +341,10 @@ onBeforeRouteLeave((to, from) => {
changeRouterKeepAlive(from.path, true);
} else {
changeRouterKeepAlive(from.path, false);
// BUG: 改变keepAlive数据不刷新,只能手动刷新
if (to.path !== '/client/chooseSchool' && to.path !== '/me/index') {
location.reload()
}
}
})
...
...
Please
register
or
login
to post a comment