diff --git a/src/components/chat-scroll-view/chat-scroll-view.vue b/src/components/chat-scroll-view/chat-scroll-view.vue index 5a1a006..b30f0cf 100644 --- a/src/components/chat-scroll-view/chat-scroll-view.vue +++ b/src/components/chat-scroll-view/chat-scroll-view.vue @@ -22,10 +22,10 @@ @@ -113,9 +114,10 @@ import { useSessionList } from './components/useSessionList' import agreement from '@/components/agreement/agreement.vue' const { getSessionLists, sessionActive } = useSessionList() -const showPopup = ref(false) +const showPopup = ref(true) const showExamplePopup = ref(false) const problem = ref([]) +const popup=ref(null) // 聊天记录列表 const chatList = ref([]) const chatRef = shallowRef() @@ -134,7 +136,10 @@ const modelKey = ref('') const getProblemExample = async () => { problem.value = await getSamplesLists() } - +const handlerback=()=>{ + console.log(popup.value,'=====popup.value') + popup.value.showPopup() +} const getDecorateFunc = async () => { try { const { data } = await getDecorate({ id: 8 }) diff --git a/src/packages/pages/ai_talk/components/session-item.vue b/src/packages/pages/ai_talk/components/session-item.vue index b2c5b46..36b4941 100644 --- a/src/packages/pages/ai_talk/components/session-item.vue +++ b/src/packages/pages/ai_talk/components/session-item.vue @@ -1,15 +1,18 @@