From f178bbca2195fcd6277f87f56386a20c41e8bced Mon Sep 17 00:00:00 2001 From: HoshinoSuzumi Date: Mon, 8 Apr 2024 17:11:20 +0800 Subject: [PATCH] fix: empty session page --- components/aigc/chat/NewSessionScreen.vue | 8 +++++++- pages/aigc/chat/index.vue | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/components/aigc/chat/NewSessionScreen.vue b/components/aigc/chat/NewSessionScreen.vue index 2ad809b..8a08e47 100644 --- a/components/aigc/chat/NewSessionScreen.vue +++ b/components/aigc/chat/NewSessionScreen.vue @@ -4,7 +4,12 @@ import {useLazyAsyncData} from '#app' const loginState = useLoginState() -const props = defineProps() +const props = defineProps({ + nonBack: { + type: Boolean, + default: false, + }, +}) const emit = defineEmits({ select: (assistant: Assistant | null) => true, cancel: () => true, @@ -58,6 +63,7 @@ const {
{ +
+
+ + 没有会话 +
+
{