From 05a241408e5eb06e3679e171444e41aaf3c4784c Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Mon, 10 Apr 2023 08:24:16 +0800 Subject: [PATCH] fix: conversationOptions --- src/views/chat/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 39df1dc..c66ddae 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -37,7 +37,7 @@ const { usingContext, toggleUsingContext } = useUsingContext() const { uuid } = route.params as { uuid: string } const dataSources = computed(() => chatStore.getChatByUuid(+uuid)) -const conversationList = computed(() => dataSources.value.filter(item => (!item.inversion && !item.error))) +const conversationList = computed(() => dataSources.value.filter(item => (!item.inversion && !!item.conversationOptions))) const prompt = ref('') const loading = ref(false)