From 6f95ca0e2ce85ee1afb3fe774c282c69f0c18efd Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 19 十二月 2024 14:50:58 +0800 Subject: [PATCH] guangming --- src/components/chat/chatComponents/summaryCom/SummaryCom.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue index efbc7cf..e2bbddd 100644 --- a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue +++ b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue @@ -10,6 +10,8 @@ :data="item" :originData="originData" :summaryIndex="index" + chartHeight="20rem" + :tableLimitHeight = "tableLimitHeight" @updateQuery ="(res)=> updateRecordSet(index,res)" ></component> </template> @@ -23,6 +25,7 @@ import { SummaryAnswerType, summaryAnswerTypeMapCom } from './components/types'; // import AmisPageTest from './components/amisPage/AmisPageTest.vue'; const props = defineProps(chatComProps); +const tableLimitHeight = document.body.clientHeight * 0.7 const parsedData = computed(() => { const newData = (props.data ?? []).map((item) => { -- Gitblit v1.9.3