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-14 10:58:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6b249cc1a8aeb9082643f21677037dafd0e8b221
6b249cc1
1 parent
fbd053ee
✨ feat(书籍列表页): 从作品页退回书籍页时,标题更新
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/views/client/bookDetail.vue
src/views/client/bookDetail.vue
View file @
6b249cc
...
...
@@ -291,6 +291,8 @@ onActivated(() => { // keepAlive 重置后执行回调
}
});
}
// 更新页面名称,因为不刷新副作用~
document.title = $route.meta.title;
});
const changeRouterKeepAlive = (path, keepAlive) => {
...
...
Please
register
or
login
to post a comment