目录前言 1、 props / $emit 2、ref / $refs 3、eventBus事件总线($emit / $on) 4、依赖注入(provide / inject) 5、$parent /
顺晟科技
2022-09-03 12:01:08
73
vue2的keepalive如何动态管理组件?如商品详细组件,可以打开多个详情tab也,关闭时销毁对应实例
顺晟科技:
Hi @sghenHere is the documentation of vue2 to use keep-alive :
vue-2-playground mansi (forked) by mansi_3011 using @vue/cli-plugin-babel, vue, vue-swatches
I hope this helps.
You can also check this working example :
Vue.js - The Progressive JavaScript Framework
09
2022-11
30
2022-09
23
2022-09
23
2022-09
23
2022-09
23
2022-09