angular - 角度 - 如何从存储的路线中删除特定路线(routeReuseStrategy)
问题描述
在我的应用程序中,用户可以使用选项卡(如浏览器)打开组件并访问主题
我正在使用 routeReuseStrategy 在我的应用程序中存储路由。
但是当用户关闭选项卡时我需要销毁特定组件并在用户再次打开它时重新创建它。
解决方案
推荐阅读
- mysql - 我选择coalesce mysql的错误在哪里?
- javascript - 如何在其中调用类viewmodel的函数
- c++ - “标识符”未声明的标识符
- vue.js - 从孩子调用孙子函数 - vue.js
- flutter - 如何使用 setState 更改 ColorTween 开始或结束颜色
- sql - 具有单个 Int (ID) 参数的存储过程
- php - 从外部网页发布表单后会话数据丢失
- python - 将数据帧转换为 csv 保持列的数据类型不变
- c# - 如何从查询字符串映射到 SQL 查询?
- java - 如何使用 LinkedHashMap 从 java HashMap 中删除最后一个输入?