Vue2的keepalive如何动态管理组件

vue2的keepalive如何动态管理组件?如商品详细组件,可以打开多个详情tab也,关闭时销毁对应实例

Hi @sghen
Here is the documentation of vue2 to use keep-alive :

You can also check this working example :

I hope this helps.