Commit 58c37e5e authored by 田翔's avatar 田翔

fix: 图片显示问题

parent 94ee69de
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "5.9.29", "version": "6.0.0",
"description": "5.9.29 增加精确搜索", "description": "6.0.0 图片显示问题",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -42,7 +42,7 @@ const FileView = (props) => { ...@@ -42,7 +42,7 @@ const FileView = (props) => {
const getfileListSrc = async () => { const getfileListSrc = async () => {
let array = [] let array = []
for (let i = 0; i < fileList.length; i++) { for (let i = 0; i < fileList.length; i++) {
let src = `${window.origin}/PandaWorkFlow/WorkFlow/AccountManage/DownloadFiles?filePath=${fileList[i]}` let src = `${window.origin}/PandaWorkFlow/WorkFlow/AccountManage/DownloadFiles?filePath=${fileList[i]}${site ? `&_site=${site}` : ''}`
let value = fileList[i].includes('svg') ? await convertUrlToBase64(src) : src let value = fileList[i].includes('svg') ? await convertUrlToBase64(src) : src
array.push(value) array.push(value)
} }
......
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