From 62a079a15b46925283581f6caaf631b5a4558927 Mon Sep 17 00:00:00 2001 From: wlzboy <66905212@qq.com> Date: 星期三, 24 九月 2025 11:00:10 +0800 Subject: [PATCH] feat: 初始化app --- ruoyi-ui/src/App.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index b92ea37..199b075 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -1,7 +1,7 @@ <template> <div id="app"> <router-view /> - <theme-picker /> + <theme-picker v-if="!isH5Page" /> </div> </template> @@ -11,6 +11,11 @@ export default { name: "App", components: { ThemePicker }, + computed: { + isH5Page() { + return this.$route.path.startsWith('/h5/'); + } + }, metaInfo() { return { title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, -- Gitblit v1.9.1