Commit 0f261070 by caoyanzhi

fix: keep-alive

parent 7fd7761c
......@@ -32,7 +32,10 @@
</div> -->
<div class="container">
<dm-layout projectName="integral-mall">
<router-view />
<keep-alive>
<router-view v-if="$route.meta.keepAlive"></router-view>
</keep-alive>
<router-view v-if="!$route.meta.keepAlive"></router-view>
</dm-layout>
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment