From a3c4ee75463087a0b6c98cc9ed94ed63f054c4a2 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 05 七月 2024 10:46:14 +0800 Subject: [PATCH] 修复 summary --- src/components/chat/chatComponents/summaryCom/SummaryCom.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue index e514981..abffe1a 100644 --- a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue +++ b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue @@ -1,9 +1,9 @@ <template> <div class="min-w-[100ch]"> <template v-if="summaryList && summaryList.length > 0"> - <div class="ml-10" v-for="(item, idx) in summaryList" :key="idx"> + <div class="ml-10 w-full" v-for="(item, idx) in summaryList" :key="idx"> <h3>{{ item.title }}</h3> - <el-table class="mt-2" :data="item.values" :style="{ width: `${columnsWidth * (item.values?.length ?? 1)}px` }"> + <el-table class="mt-2 w-full" :data="[{}]"> <el-table-column v-for="(col, index) in item.values" :label="col.title" :key="index"> <template #default="scope"> {{ col?.value }} -- Gitblit v1.9.3