mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-25 06:24:32 +08:00
feat: add the attribute routeCached to route to control cache the DOM corresponding to the route
This commit is contained in:
@@ -43,6 +43,10 @@ interface RouteMeta {
|
||||
| 'success'
|
||||
| 'warning'
|
||||
| string;
|
||||
/**
|
||||
* 路由对应dom是否缓存起来
|
||||
*/
|
||||
domCached?: boolean;
|
||||
/**
|
||||
* 路由的完整路径作为key(默认true)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user