修复主题颜色在Drawer组件不会加载问题(I5VCF0)

duhanyu
RuoYi 2 years ago
parent 6505432bf4
commit bf83fe568b

@ -1,12 +1,16 @@
<template> <template>
<div id="app"> <div id="app">
<router-view /> <router-view />
<theme-picker />
</div> </div>
</template> </template>
<script> <script>
export default { import ThemePicker from "@/components/ThemePicker";
name: 'App',
export default {
name: "App",
components: { ThemePicker },
metaInfo() { metaInfo() {
return { return {
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
@ -15,5 +19,10 @@ export default {
} }
} }
} }
} };
</script> </script>
<style scoped>
#app .theme-picker {
display: none;
}
</style>

Loading…
Cancel
Save