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

duhanyu
RuoYi 2 years ago
parent 6505432bf4
commit bf83fe568b

@ -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>

Loading…
Cancel
Save