mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
perf: 禁止页面缓存,点击tab页签可以刷新数据
This commit is contained in:
@@ -40,11 +40,11 @@ function transformOneResource(resource: any, parent: any) {
|
||||
if (route.component == null) {
|
||||
route.component = LayoutPass;
|
||||
}
|
||||
if (route?.meta?.cache !== false) {
|
||||
if (route?.meta?.cache !== true) {
|
||||
if (route.meta == null) {
|
||||
route.meta = {};
|
||||
}
|
||||
route.meta.cache = true;
|
||||
route.meta.cache = false;
|
||||
}
|
||||
}
|
||||
if (resource.children) {
|
||||
|
||||
Reference in New Issue
Block a user