mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-07 00:17:03 +08:00
Fixed: word error
This commit is contained in:
@@ -86,8 +86,8 @@ const tcYunUpload = async (img, type, webContents) => {
|
|||||||
const path = tcYunOptions.path
|
const path = tcYunOptions.path
|
||||||
const useV4 = !tcYunOptions.version || tcYunOptions.version === 'v4'
|
const useV4 = !tcYunOptions.version || tcYunOptions.version === 'v4'
|
||||||
for (let i in imgList) {
|
for (let i in imgList) {
|
||||||
const singature = generateSignature(imgList[i].fileName)
|
const signature = generateSignature(imgList[i].fileName)
|
||||||
const options = postOptions(imgList[i].fileName, singature, imgList[i].base64Image)
|
const options = postOptions(imgList[i].fileName, signature, imgList[i].base64Image)
|
||||||
const res = await request(options)
|
const res = await request(options)
|
||||||
.then(res => res)
|
.then(res => res)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
|||||||
Reference in New Issue
Block a user