dataease/frontend/src/App.vue
2022-09-22 09:48:14 +08:00

24 lines
592 B
Vue

<template>
<div id="app">
<keep-alive>
<router-view v-if="['/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>
<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>