Open Cloud-Yao opened 1 month ago
No response
在一些情况下,path属性不好写为固定值,最好有一个匹配规则,例如正则表达式,通配符匹配等等,匹配成功则缓存改路由,类似Vue中KeepAlive那样。
如题。
https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude Vue这种KeepAlive灵活性会高不少
非常棒的想法,可以考虑直接给我们 PR
Summary | 概述
No response
Motivation | 背景
在一些情况下,path属性不好写为固定值,最好有一个匹配规则,例如正则表达式,通配符匹配等等,匹配成功则缓存改路由,类似Vue中KeepAlive那样。
Usage example | 使用示例
No response
Detailed design | 方案设计
如题。
Additional context | 额外信息
No response