mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-27 03:00:25 +08:00
Updated: electron version & fixed smms pic type
This commit is contained in:
@@ -34,6 +34,7 @@ const smmsUpload = async function (img, type, webContents) {
|
||||
if (body.code === 'success') {
|
||||
delete imgList[i].base64Image
|
||||
imgList[i]['imgUrl'] = body.data.url
|
||||
imgList[i]['type'] = 'smms'
|
||||
} else {
|
||||
webContents.send('uploadProgress', -1)
|
||||
return new Error()
|
||||
|
||||
Reference in New Issue
Block a user