You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meahu, canwdev, cookingHero, MyFanKe, coders404 and 1 moredongtianqi, dashingK, Sylar01 and LXJLVmeahu, dashingK and Ankhyangmeahu and eavan5meahumeahu and Mikyyzzhangkuibao
Activity
wenyejie commentedon Jun 27, 2019
蜜汁微笑,
如果用过devTool会有详细感受
如果你使用keep-alive, component等内置组件时
如果你使用循环组件时
遇到了bug, 你就会知道为什么了
maozhuo123 commentedon Jul 3, 2019
项目使用keep-alive时,可搭配组件name进行缓存过滤
DOM做递归组件时需要调用自身name
vue-devtools调试工具里显示的组见名称是由vue中组件name决定的
censek commentedon Oct 30, 2019
https://www.jb51.net/article/140702.htm
ThyeeZz commentedon Sep 26, 2020
注册全局组件的时候,也需要使用name吧,Vue.component(ComponentA.name,ComponentA)这样
dyq086 commentedon Aug 4, 2021
1、组件keep-alive缓存用name搭配exclude过滤
2、组件递归调用
3、组件安装
4、vue-devtools调试工具name 对应组件名称
AAA611 commentedon Aug 30, 2022
1
配合 keep-alive
2
vue router 也可以使用组件的 name