From b4725b231cfe2a710288e8bd0b1b9d990989f90c Mon Sep 17 00:00:00 2001 From: xusd <330628789@qq.com> Date: Tue, 24 Jun 2025 17:30:20 +0800 Subject: [PATCH] Merge branch 'feature/gzdyh_city_bugfix' of http://120.79.193.119:9090/r/gzdyh/front into feature/gzdyh_city_bugfix --- src/components/ProgressStep/VisitStep.jsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/ProgressStep/VisitStep.jsx b/src/components/ProgressStep/VisitStep.jsx index 6f000bf..c09a8b6 100644 --- a/src/components/ProgressStep/VisitStep.jsx +++ b/src/components/ProgressStep/VisitStep.jsx @@ -2,7 +2,7 @@ * @Author: dminyi 1301963064@qq.com * @Date: 2024-08-29 14:57:06 * @LastEditors: lwh - * @LastEditTime: 2025-01-02 16:14:02 + * @LastEditTime: 2025-06-24 16:38:35 * @FilePath: \gzDyh\gz-customerSystem\src\components\ProgressStep\VisitStep.jsx * @Description: 来访登记步骤条 */ @@ -11,7 +11,7 @@ import { Tooltip } from 'antd'; import { ledger_8, ledger_7, ledger_12, ledger_13, ledger_14 } from '../../assets/images'; import * as $$ from '../../utils/utility'; -import PreviewImage from '@/components/PreviewImage'; +import MyPDF from '@/components/MyPDF'; import './index.less'; /** @@ -51,9 +51,9 @@ const typeDom = (data) => { console.log(data); const dom = data.fileInfoList?.map((result, resIndex) => { - return <div style={{ display: 'inline-block' }}> - <PreviewImage name={result.name} src={result.showUrl} /> - {resIndex !== data.fileInfoList?.length - 1 && <>,</>} + return <div key={resIndex}> + <MyPDF name={result.name} fileUrl={result.showUrl} fileType={result.suffix} /> + {/* {resIndex !== data.fileInfoList?.length - 1 && <>,</>} */} </div> }) console.log(dom); -- Gitblit v1.8.0