refactor: 性能测试页面缓存配置修改
This commit is contained in:
parent
b3b5be3c2f
commit
3e29f9433f
|
@ -3,7 +3,7 @@
|
|||
<performance-header-menus/>
|
||||
<div>
|
||||
<transition>
|
||||
<keep-alive>
|
||||
<keep-alive :exclude="excludeCaches">
|
||||
<router-view :baseUrl="baseUrl"/>
|
||||
</keep-alive>
|
||||
</transition>
|
||||
|
@ -13,17 +13,19 @@
|
|||
|
||||
<script>
|
||||
|
||||
import PerformanceHeaderMenus from "./head/PerformanceHeaderMenus";
|
||||
import PerformanceHeaderMenus from "./head/PerformanceHeaderMenus";
|
||||
|
||||
export default {
|
||||
name: "PerformanceTest",
|
||||
components: {PerformanceHeaderMenus},
|
||||
data() {
|
||||
return {
|
||||
baseUrl: "performance"
|
||||
}
|
||||
}
|
||||
}
|
||||
export default {
|
||||
name: "PerformanceTest",
|
||||
components: {PerformanceHeaderMenus},
|
||||
data() {
|
||||
return {
|
||||
baseUrl: "performance",
|
||||
// 不缓存的路由
|
||||
excludeCaches: ['PerformanceReportView'],
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue