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

This commit is contained in:
RuoYi 2022-10-19 10:54:01 +08:00
parent 6505432bf4
commit bf83fe568b
1 changed files with 12 additions and 3 deletions

View File

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