lloydzhou 1 年之前
父節點
當前提交
49151dabf5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/store/sd.ts

+ 1 - 1
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);