From 548ba0ae369516b55883a864dbc231067ceef262 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Tue, 17 Mar 2026 17:03:05 +0800 Subject: [PATCH] fix(web): file download --- .../components/PerceptualLastInfo.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx b/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx index 62489f2f..b3bbd7ba 100644 --- a/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx +++ b/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 18:32:23 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-02-03 18:32:23 + * @Last Modified time: 2026-03-17 17:02:46 */ import { type FC, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -90,10 +90,10 @@ const PerceptualLastInfo: FC<{ type: 'last_visual' | 'last_listen' | 'last_text' }) } - const handleDownload = () => { - if (!data.file_path) return - window.open(data.file_path, '_blank') - } + // const handleDownload = () => { + // if (!data.file_path) return + // window.open(data.file_path, '_blank') + // } return ( ) : ( -
{data.file_name}
+ {data.file_name} ) ) : (
{t('empty.tableEmpty')}