2021-03-03 15:06:52 +08:00
|
|
|
<template>
|
|
|
|
<div id="app">
|
2022-09-21 17:32:03 +08:00
|
|
|
<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" />
|
2021-03-03 15:06:52 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-10-31 02:01:52 +08:00
|
|
|
import PluginCom from '@/views/system/plugin/PluginCom'
|
2021-10-22 15:06:50 +08:00
|
|
|
|
2021-03-03 15:06:52 +08:00
|
|
|
export default {
|
2021-10-08 17:22:21 +08:00
|
|
|
name: 'App',
|
2022-09-21 17:32:03 +08:00
|
|
|
components: { PluginCom },
|
|
|
|
computed: {
|
|
|
|
key() {
|
|
|
|
return this.$route.path
|
|
|
|
}
|
2021-10-08 17:22:21 +08:00
|
|
|
}
|
2021-03-03 15:06:52 +08:00
|
|
|
}
|
|
|
|
</script>
|