[vue] 怎么缓存当前打开的路由组件,缓存后想更新当前组件怎么办呢?
可以在路由meta中加入参数, 对打开的路由进行keep-alive的判断, 通过钩子active等
优秀~
https://blog.csdn.net/qq_38861711/article/details/98185106
Most helpful comment
可以在路由meta中加入参数, 对打开的路由进行keep-alive的判断, 通过钩子active等