gerson
2024-08-25 9a8a56f6d2cfe0ab9ec9368d58d03d1cf10ade28
src/views/project/ch/home/Home.vue
@@ -5,20 +5,21 @@
            <div class="w100 h100 overflow-hidden">
               <div class="pc-chatRoom w100 h100">
                  <div class="homeBox w100 h-full">
                     <div class="flex items-center h-full overflow-hidden">
                        <div class="flex items-center flex-column">
                           <waterTop ref="topRef"/>
                     <div class="flex items-center h-full ">
                        <div class="flex items-center flex-column" style="overflow: unset !important;">
                           <waterTop ref="topRef" />
                           <waterCenter
                              @advanceExampleClick="advanceExampleClick"
                              :isShowAdvanceExample="state.isShowAdvanceExample"
                              ref="waterCenterRef"
                              @updateChatInput="updateChatInput"
                           />
                           <waterBottom />
                           <waterBottom  />
                        </div>
                        <CustomDrawer
                           v-model:isShow = "state.isShowAdvanceExample"
                           v-model:isShow="state.isShowAdvanceExample"
                           ref="customDrawerrRef"
                           @updateChatInput="updateChatInput"
                        />
                     </div>
@@ -43,16 +44,20 @@
import CustomDrawer from '/@/components/drawer/CustomDrawer.vue';
let state = reactive({
   isShowAdvanceExample: false,
});
const topRef = ref(null);
const waterCenterRef = ref(null);
const customDrawerrRef = ref(null);
const updateChatInput = (val) => {
   topRef.value.updateChatInput(val)
   topRef.value.updateChatInput(val);
};
const advanceExampleClick = (status: boolean) => {
   state.isShowAdvanceExample = status;
   if (status) {
      customDrawerrRef.value.getTableData();
   }
};
</script>