会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
LC蜗牛
心有猛虎 细嗅蔷薇
博客园
首页
新随笔
联系
订阅
管理
2023年1月10日
vue之KeepAlive 组件缓存
摘要: 简单使用 <!-- 非活跃的组件将会被缓存! --> <KeepAlive> <component :is="activeComponent" /> </KeepAlive> 讲解 默认会缓存内部的所有组件实例,但我们可以通过 include 和 exclude prop 来定制该行为。 prop
阅读全文
posted @ 2023-01-10 19:28 LC蜗牛
阅读(329)
评论(0)
推荐(0)
编辑
公告