refactor: 性能测试页面缓存配置修改
This commit is contained in:
parent
fcc55dabea
commit
1db8bf7579
|
@ -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>
|
||||||
|
@ -13,17 +13,19 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import PerformanceHeaderMenus from "./head/PerformanceHeaderMenus";
|
import PerformanceHeaderMenus from "./head/PerformanceHeaderMenus";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "PerformanceTest",
|
name: "PerformanceTest",
|
||||||
components: {PerformanceHeaderMenus},
|
components: {PerformanceHeaderMenus},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
baseUrl: "performance"
|
baseUrl: "performance",
|
||||||
}
|
// 不缓存的路由
|
||||||
}
|
excludeCaches: ['PerformanceReportView'],
|
||||||
}
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue