feat(projects): 添加生产的主题配置缓存

This commit is contained in:
Soybean
2022-06-20 23:23:55 +08:00
parent 5c1b086cb4
commit 718c36263e
16 changed files with 137 additions and 48 deletions

View File

@@ -12,6 +12,7 @@
<full-screen />
<theme-mode />
<system-message />
<setting-button v-if="isProd" />
<user-avatar />
</div>
</dark-mode-container>
@@ -29,7 +30,8 @@ import {
FullScreen,
ThemeMode,
UserAvatar,
SystemMessage
SystemMessage,
SettingButton
} from './components';
interface Props {
@@ -44,6 +46,8 @@ interface Props {
defineProps<Props>();
const theme = useThemeStore();
const isProd = import.meta.env.PROD;
</script>
<style scoped>