mirror of
https://github.com/dataease/dataease.git
synced 2025-02-27 13:52:53 +08:00
24 lines
596 B
Vue
24 lines
596 B
Vue
<template>
|
|
<div id="app">
|
|
<keep-alive>
|
|
<router-view v-show="['/dataset/index', '/system/system-settings/appearance'].includes(key)"></router-view>
|
|
</keep-alive>
|
|
<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>
|
|
|
|
<script>
|
|
import PluginCom from '@/views/system/plugin/PluginCom'
|
|
|
|
export default {
|
|
name: 'App',
|
|
components: { PluginCom },
|
|
computed: {
|
|
key() {
|
|
return this.$route.path
|
|
}
|
|
}
|
|
}
|
|
</script>
|