dataease/frontend/src/App.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>