From 32f9becb7cb1b0930399a186365985ead64e1f2c Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 3 Jul 2025 11:31:22 +0800 Subject: [PATCH] fix: copy --- .../application-overview/xpack-component/XPackLimitDrawer.vue | 2 +- ui/src/views/chat/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue b/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue index 0c989285a..316ed2700 100644 --- a/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue +++ b/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue @@ -57,7 +57,7 @@ diff --git a/ui/src/views/chat/index.vue b/ui/src/views/chat/index.vue index ebcd23e44..0152a0eb4 100644 --- a/ui/src/views/chat/index.vue +++ b/ui/src/views/chat/index.vue @@ -13,7 +13,7 @@ import { useRoute } from 'vue-router' import useStore from '@/stores' const route = useRoute() -const { chatUser } = useStore() +const { chatUser, common } = useStore() const components: any = import.meta.glob('@/views/chat/**/index.vue', { eager: true, @@ -27,7 +27,7 @@ const { const currentTemplate = computed(() => { let modeName = '' if (!mode || mode === 'pc') { - modeName = 'pc' + modeName = common.isMobile() ? 'mobile' : 'pc' } else { modeName = mode }