diff --git a/web/client/src/sections/fillion/components/uploads.js b/web/client/src/sections/fillion/components/uploads.js index 782fc311..1f6aa15b 100644 --- a/web/client/src/sections/fillion/components/uploads.js +++ b/web/client/src/sections/fillion/components/uploads.js @@ -20,7 +20,7 @@ class Uploads extends Component { } dealName = (uploaded) => { - console.log(uploaded) + let realName = uploaded.split('/')[2] let x1 = realName.split('.') let x2 = x1[0].split('_') @@ -31,6 +31,7 @@ class Uploads extends Component { setFileList = (value) => { let defaultFileList = []; defaultFileList = value.map((u, index) => { + // let fileUrl = `${this.ApiRoot}/${u.url}`; let fileUrl = `${u.url}`; return { uid: -index - 1, @@ -60,7 +61,8 @@ class Uploads extends Component { const setFileList = () => { let defaultFileList = []; defaultFileList = nextEditData.map((u, index) => { - let fileUrl = `${this.ApiRoot}/${u.storageUrl}`; + // let fileUrl = `${this.ApiRoot}/${u.storageUrl}`; + let fileUrl = `${u.storageUrl}`; return { uid: -index - 1, name: this.dealName(u.storageUrl), @@ -268,7 +270,7 @@ class Uploads extends Component { // } // return f // }) - console.log('fileList_:', fileList_); + return (