lloydzhou 1 yıl önce
ebeveyn
işleme
49151dabf5
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);