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