mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-17 16:56:37 +08:00
hotfix
This commit is contained in:
parent
eb7c7cdcb6
commit
49151dabf5
@ -67,8 +67,8 @@ export const useSdStore = createPersistStore<
|
||||
this.getNextId();
|
||||
return;
|
||||
}
|
||||
if (resData.finish_reason === "SUCCESS") {
|
||||
const self = this;
|
||||
if (resData.finish_reason === "SUCCESS") {
|
||||
uploadImage(base64Image2Blob(resData.image, "image/png"))
|
||||
.then((img_data) => {
|
||||
console.debug("uploadImage success", img_data, self);
|
||||
|
Loading…
Reference in New Issue
Block a user