vue 页面false
时间: 2023-08-10 13:06:46 浏览: 86
回答: 在Vue页面中,当isRouterAlive的值为false时,<router-view>标签将不会渲染任何内容,即页面内容为空。\[3\]这种情况下,可以通过调用reload方法来刷新页面。reload方法会将isRouterAlive的值设置为false,然后通过$nextTick方法将isRouterAlive的值设置为true,从而重新渲染<router-view>标签内的内容,实现页面的刷新操作。\[3\]
#### 引用[.reference_title]
- *1* [vue弹窗如何嵌入其它vue页面](https://blog.csdn.net/Octopus21/article/details/127813301)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [vue页面刷新](https://blog.csdn.net/weixin_52767262/article/details/123718004)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文