当前位置:网站首页>vue多级路由嵌套怎么动态缓存组件
vue多级路由嵌套怎么动态缓存组件
2022-07-04 03:35:00 【CSDN问答】
有这么3个页面 app.vue,home.vue,homework.vue
app.vue -> home -> homework3个页面属于路由嵌套关系
我要缓存homework,是只需要在app里的include加入homework的name,还是需要在app和home页面的include都加上呢?
app.vue
<keep-alive include="homework"> <router-view></router-view></keep-alive>home.vue
<router-view></router-view><van-tabbar-item name="工作台" to="/homework" icon="qr">工作台</van-tabbar-item>homework.vue
边栏推荐
- (practice C language every day) pointer sorting problem
- Command Execution Vulnerability - command execution - vulnerability sites - code injection - vulnerability exploitation - joint execution - bypass (spaces, keyword filtering, variable bypass) - two ex
- 1day vulnerability pushback skills practice (3)
- Zlmediakit compilation and webrtc push-pull flow testing
- functools下的reduce函数
- Infiltration practice guest account mimikatz sunflower SQL rights lifting offline decryption
- Audio and video technology development weekly | 232
- Baijia forum the founding of the Eastern Han Dynasty
- Cache general management class + cache httpcontext Current. Cache and httpruntime Differences between caches
- 2022 registration examination for safety production management personnel of fireworks and firecracker production units and examination skills for safety production management personnel of fireworks an
猜你喜欢

Setting methods, usage methods and common usage scenarios of environment variables in postman

Setting methods, usage methods and common usage scenarios of environment variables in postman
![[Valentine's Day confession code] - Valentine's Day is approaching, and more than 10 romantic love effects are given to the one you love](/img/ab/066923f1aa1e8dd8dcc572cb60a25d.jpg)
[Valentine's Day confession code] - Valentine's Day is approaching, and more than 10 romantic love effects are given to the one you love
![[latex] production of complex tables: excel2latex and detail adjustment](/img/39/0d448ddf006eda262de3ed75666354.jpg)
[latex] production of complex tables: excel2latex and detail adjustment

渗透实战-guest账户-mimikatz-向日葵-sql提权-离线解密

MySQL one master multiple slaves + linear replication
![[PaddleSeg 源码阅读] PaddleSeg 自定义数据类](/img/88/37c535b371486db545abc392a685af.png)
[PaddleSeg 源码阅读] PaddleSeg 自定义数据类

New year's first race, submit bug reward more!

No clue about the data analysis report? After reading this introduction of smartbi, you will understand!

MySQL is dirty
随机推荐
用于TCP协议交互的TCPClientDemo
Contest3145 - the 37th game of 2021 freshman individual training match_ J: Eat radish
选择排序与冒泡排序模板
Detailed explanation of PPTC self recovery fuse
warning: LF will be replaced by CRLF in XXXXXX
Examination question bank of constructor decoration direction post skills (constructor) and examination data of constructor decoration direction post skills (constructor) in 2022
Wechat official account web page authorization
Base d'apprentissage de la machine: sélection de fonctionnalités avec lasso
Contest3145 - the 37th game of 2021 freshman individual training match_ F: Smallest ball
Infiltration practice guest account mimikatz sunflower SQL rights lifting offline decryption
Handler source code analysis
Rhcsa day 2
[UE4] parse JSON string
Third party login initial version
MySQL one master multiple slaves + linear replication
National standard gb28181 protocol platform easygbs fails to start after replacing MySQL database. How to deal with it?
Consul of distributed service registration discovery and unified configuration management
JVM family -- monitoring tools
Practical multifunctional toolbox wechat applet source code / support traffic master
潘多拉 IOT 开发板学习(HAL 库)—— 实验6 独立看门狗实验(学习笔记)