From 97db9d11ff425583d2dece82a842a7766bb5e7e4 Mon Sep 17 00:00:00 2001 From: wlzboy <66905212@qq.com> Date: 星期五, 26 九月 2025 21:43:39 +0800 Subject: [PATCH] feat: 添加map --- 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