diff --git a/chat-client/src/views/chatweb/components/ChatBox.vue b/chat-client/src/views/chatweb/components/ChatBox.vue index 69b4df4..a8e3d4c 100644 --- a/chat-client/src/views/chatweb/components/ChatBox.vue +++ b/chat-client/src/views/chatweb/components/ChatBox.vue @@ -687,6 +687,8 @@ const parseECharts = (text: string): { processedText: string; echarts: EChartDat // 格式化答案 const formatAnswer = async (text: string) => { try { + // text += `\n\n![描述文本](http://192.168.1.211:12211/files/2025年08月电子发票统计表_王静.png)` + // 先解析ECharts代码块 const { processedText, echarts } = parseECharts(text) @@ -715,16 +717,16 @@ const formatAnswer = async (text: string) => { ).replace( //g, '' - ) + ).replace(/