fix(系统配置): 修复外观配置菜单切换导致路由刷新问题
This commit is contained in:
parent
ea17177c08
commit
7f0c749601
@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<keep-alive>
|
||||
<router-view v-if="['/dataset/index', '/system/system-settings/appearance'].includes(key)"></router-view>
|
||||
<router-view v-show="['/dataset/index', '/system/system-settings/appearance'].includes(key)"></router-view>
|
||||
</keep-alive>
|
||||
<router-view v-if="!['/dataset/index', '/system/system-settings/appearance'].includes(key)"></router-view>
|
||||
<router-view v-show="!['/dataset/index', '/system/system-settings/appearance'].includes(key)"></router-view>
|
||||
<plugin-com v-show="false" ref="de-theme" component-name="ThemeSetting" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user