Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -291,6 +291,8 @@ onActivated(() => { // keepAlive 重置后执行回调 | ... | @@ -291,6 +291,8 @@ onActivated(() => { // keepAlive 重置后执行回调 |
| 291 | } | 291 | } |
| 292 | }); | 292 | }); |
| 293 | } | 293 | } |
| 294 | + // 更新页面名称,因为不刷新副作用~ | ||
| 295 | + document.title = $route.meta.title; | ||
| 294 | }); | 296 | }); |
| 295 | 297 | ||
| 296 | const changeRouterKeepAlive = (path, keepAlive) => { | 298 | const changeRouterKeepAlive = (path, keepAlive) => { | ... | ... |
-
Please register or login to post a comment