首页 > 解决方案 > 角度 - 如何从存储的路线中删除特定路线(routeReuseStrategy)

问题描述

在我的应用程序中,用户可以使用选项卡(如浏览器)打开组件并访问主题

我正在使用 routeReuseStrategy 在我的应用程序中存储路由。

但是当用户关闭选项卡时我需要销毁特定组件并在用户再次打开它时重新创建它。

标签: angularroutereusestrategy

解决方案


推荐阅读