办学质量监测教学评价系统
shenrongliang
2025-06-13 11d86cc6c26bb4f709e407acadf4805c2024e79f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<script setup lang="ts">
import aiSiderInput from './aiSiderInput.vue'; 
//import { useAppStore, useChatStore } from '@/store';
 
import { useBasicLayout } from '@/hooks/useBasicLayout'
import { mlog } from '@/api';
import chatIndex from '@/views/chat/index.vue';
 
const { isMobile } = useBasicLayout()
// const appStore = useAppStore()
// const chatStore = useChatStore()
const drawSent=( obj:any )=>{
    mlog('drawSent' , obj )
}
const mjClose=()=>{
}
 
// function handleAdd() {
//   chatStore.addHistory({ title: 'New Chat', uuid: Date.now(), isEdit: false })
//   if (isMobile.value)
//     appStore.setSiderCollapsed(true)
// }
 
//handleAdd();
</script>
<template>
         <!-- <chatIndex></chatIndex> -->
 
<div   class="flex h-full">
    <div class="h-full ">
    <aiSiderInput  @close="mjClose" @drawSent="drawSent" :button-disabled="false"></aiSiderInput>
    </div>
     
    <main class="flex-1 overflow-hidden h-full">
        <chatIndex></chatIndex>
    </main>
</div>
</template>