菜单管理功能加强,新增功能项:是否隐藏菜单(某些页面不需要显示在左侧菜单栏中),是否缓存菜单(可解决切换Tab重新渲染的问题,使用该功能必须填写组件名称,且必须与组件中的name一致)

This commit is contained in:
dqjdda
2019-08-27 15:56:06 +08:00
parent a138fbc6b6
commit b0830fba37
22 changed files with 52 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :exclude="cachedViews">
<keep-alive :include="cachedViews">
<router-view :key="key"/>
</keep-alive>
</transition>