From 49151dabf57104045c77a52147490506ad7300b2 Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Tue, 16 Jul 2024 23:18:34 +0800 Subject: [PATCH] hotfix --- app/store/sd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/sd.ts b/app/store/sd.ts index d40c53a85..bf3e6450c 100644 --- a/app/store/sd.ts +++ b/app/store/sd.ts @@ -67,8 +67,8 @@ export const useSdStore = createPersistStore< this.getNextId(); return; } + const self = this; if (resData.finish_reason === "SUCCESS") { - const self = this; uploadImage(base64Image2Blob(resData.image, "image/png")) .then((img_data) => { console.debug("uploadImage success", img_data, self);