Commit 69953155 authored by 涂伟's avatar 涂伟

fix: '图片预览功能优化'

parent 09ffa439
...@@ -15,7 +15,7 @@ const FileView = (props) => { ...@@ -15,7 +15,7 @@ const FileView = (props) => {
{ {
fileList.map(v => { fileList.map(v => {
return ( return (
<img style={{ width: '65px' }} src={`${'http://192.168.10.167:8088'}/PandaWorkFlow/WorkFlow/AccountManage/DownloadFiles?filePath=${v}`}></img> <img style={{ width: '65px' }} src={`${window.origin}/PandaWorkFlow/WorkFlow/AccountManage/DownloadFiles?filePath=${v}`}></img>
) )
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment