From be3bae42acbe05c0b388a497dcceaee8ef00e819 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期三, 17 七月 2024 14:31:11 +0800
Subject: [PATCH] w-full

---
 src/components/chat/chatComponents/summaryCom/SummaryCom.vue |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue
index 05c781f..c4d3cfc 100644
--- a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue
+++ b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue
@@ -1,5 +1,5 @@
 <template>
-	<div style="width: calc(100ch - 28px)">
+	<div class="w-full">
 		<template v-if="data && data.length > 0">
 			<template v-if="summaryList && summaryList.length > 0">
 				<div class="w-full" v-for="(item, idx) in summaryList" :key="idx">
@@ -24,11 +24,7 @@
 				</div>
 			</div>
 			<div v-if="urlList && urlList.length > 0" class="w-full">
-				<HTMLCom
-					data="http://127.0.0.1:5500/src/views/project/ch/demo/MonthlyPay.html"
-					v-for="(item, index) in urlList"
-					:key="index"
-				></HTMLCom>
+				<HTMLCom :data="item.url" v-for="(item, index) in urlList" :key="index"></HTMLCom>
 			</div>
 		</template>
 		<div v-else class="text-red-500">{{ error }}</div>
@@ -40,11 +36,11 @@
 import type { TableInstance } from 'element-plus';
 import _ from 'lodash';
 import { computed, onMounted, ref } from 'vue';
-import { ChartTypeEnum, chartTypeMapEchart, chartTypeMapName } from '../types';
-import { axisLabelFormatter } from '/@/utils/chart';
-import { PATH_ICON, SCATTER_SYMBOL_SIZE, timeDataOptionToContent } from '../common';
 import { AnswerType } from '../../model/types';
+import { PATH_ICON, SCATTER_SYMBOL_SIZE, timeDataOptionToContent } from '../common';
 import HTMLCom from '../htmlCom/HTMLCom.vue';
+import { ChartTypeEnum, chartTypeMapEchart } from '../types';
+import { axisLabelFormatter } from '/@/utils/chart';
 const props = defineProps(['data', 'error']);
 
 const selectChartType = ref<ChartTypeEnum>(ChartTypeEnum.Line);

--
Gitblit v1.9.3