From db8b368c5fd611732e26425c974dddd16ae09a82 Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Sat, 14 Sep 2024 10:03:22 +0800
Subject: [PATCH] 修改提交
---
gz-customerSystem/src/views/register/visit/component/previewTable.jsx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gz-customerSystem/src/views/register/visit/component/previewTable.jsx b/gz-customerSystem/src/views/register/visit/component/previewTable.jsx
index f756d12..e9fcefc 100644
--- a/gz-customerSystem/src/views/register/visit/component/previewTable.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/previewTable.jsx
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import { person, link } from '@/assets/images'
import { person1 } from '@/assets/images/icon'
-
+import PreviewImage from '@/components/PreviewImage';
@@ -52,10 +52,10 @@
item.fileInfoList?.map(res => {
if (res.ownerType == "22_00018-202") {
return res.fileList.map((result, resIndex) => {
- return <a href="your-link-here.html" target="_blank">
- <img src={link} alt="" className="title-file" />{result.trueName}
+ return <div style={{display: 'inline-block'}}>
+ <PreviewImage name={result.name} src={result.showUrl} />
{resIndex !== res.fileList.length - 1 && <>,</>}
- </a>
+ </div>
})
}
})
--
Gitblit v1.8.0