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 }