refactor: 性能测试页面缓存配置修改

This commit is contained in:
CaptainB 2021-10-27 11:01:16 +08:00 committed by 刘瑞斌
parent fcc55dabea
commit 1db8bf7579
1 changed files with 13 additions and 11 deletions

View File

@ -3,7 +3,7 @@
<performance-header-menus/> <performance-header-menus/>
<div> <div>
<transition> <transition>
<keep-alive> <keep-alive :exclude="excludeCaches">
<router-view :baseUrl="baseUrl"/> <router-view :baseUrl="baseUrl"/>
</keep-alive> </keep-alive>
</transition> </transition>
@ -20,10 +20,12 @@
components: {PerformanceHeaderMenus}, components: {PerformanceHeaderMenus},
data() { data() {
return { return {
baseUrl: "performance" baseUrl: "performance",
} //
} excludeCaches: ['PerformanceReportView'],
} };
},
};
</script> </script>