mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
Fixed: aliyun imgUrl in list
This commit is contained in:
parent
17755b9809
commit
804072999e
@ -49,7 +49,7 @@ const aliYunUpload = async (img, type, webContents) => {
|
|||||||
if (customUrl) {
|
if (customUrl) {
|
||||||
imgList[i]['imgUrl'] = `${customUrl}/${path}${imgList[i].fileName}`
|
imgList[i]['imgUrl'] = `${customUrl}/${path}${imgList[i].fileName}`
|
||||||
} else {
|
} else {
|
||||||
imgList[i]['imgUrl'] = `https://${aliYunOptions.bucket}.${aliYunOptions.area}.aliyuncs.com/${path}${imgList[0].fileName}`
|
imgList[i]['imgUrl'] = `https://${aliYunOptions.bucket}.${aliYunOptions.area}.aliyuncs.com/${path}${imgList[i].fileName}`
|
||||||
}
|
}
|
||||||
imgList[i]['type'] = 'aliyun'
|
imgList[i]['type'] = 'aliyun'
|
||||||
if (i - length === -1) {
|
if (i - length === -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user