添加缓存页面排除
parent
754501dfe9
commit
04b6e8f93b
|
@ -1,6 +1,8 @@
|
|||
<template>
|
||||
<div>
|
||||
<keep-alive>
|
||||
<List v-if="activeName === 'List'" ref="List" />
|
||||
</keep-alive>
|
||||
<Add v-if="activeName === 'AddOrEdit'" ref="AddOrEdit" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<template>
|
||||
<div>
|
||||
<keep-alive>
|
||||
<List v-if="activeName === 'List'" ref="List" />
|
||||
</keep-alive>
|
||||
<Add v-if="activeName === 'AddOrEdit'" ref="AddOrEdit" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-if="activeName=='List'" ref="list" />
|
||||
<hiddenList v-else-if="activeName=='hiddenList'" ref="HiddenList" />
|
||||
<Detail v-else-if="activeName=='Detail'" ref="Detail" />
|
||||
<Evaluate v-else-if="activeName=='Evaluate'" ref="Evaluate" />
|
||||
</keep-alive>
|
||||
<hiddenList v-if="activeName=='hiddenList'" ref="HiddenList" />
|
||||
<Detail v-if="activeName=='Detail'" ref="Detail" />
|
||||
<Evaluate v-if="activeName=='Evaluate'" ref="Evaluate" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-if="activeName=='List'" ref="List" />
|
||||
</keep-alive>
|
||||
<Detail v-if="activeName=='detail'" ref="Detail" />
|
||||
<SumDetail v-if="activeName=='sumDetail'" ref="SumDetail" />
|
||||
</keep-alive>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-if="activeName=='List'" ref="list" />
|
||||
</keep-alive>
|
||||
<HiddenList v-if="activeName=='hiddenList'" ref="HiddenList" />
|
||||
<InitialDetail v-if="activeName=='initialDetail'" ref="InitialDetail" />
|
||||
<Detail v-if="activeName=='Detail'" ref="Detail" />
|
||||
<Evaluate v-if="activeName=='Evaluate'" ref="Evaluate" />
|
||||
<ReplenishEvaluate v-if="activeName=='replenishEvaluate'" ref="ReplenishEvaluate" />
|
||||
</keep-alive>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-if="activeName=='List'" ref="List" />
|
||||
</keep-alive>
|
||||
<Detail v-if="activeName=='detail'" ref="Detail" />
|
||||
<SumDetail v-if="activeName=='sumDetail'" ref="SumDetail" />
|
||||
</keep-alive>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
</keep-alive>
|
||||
<Info v-if="activeName=='Info'" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
</keep-alive>
|
||||
<Info v-if="activeName=='Info'" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<div>
|
||||
<keep-alive>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
</keep-alive>
|
||||
<Info v-if="activeName=='Info'" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<keep-alive>
|
||||
<keep-alive include="CorpInfoList" exclude="CorpInfoEdit,CorpInfoAdd">
|
||||
<component :is="activeName" />
|
||||
</keep-alive>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue