SyuanYu 2 kuukautta sitten
vanhempi
commit
c602071fc9
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      frontend/src/stores/main.ts

+ 1 - 0
frontend/src/stores/main.ts

@@ -412,6 +412,7 @@ export const useMainStore = defineStore("MainStoreId", {
       }
     },
     async generateVideo(data: genVideoData, list: string[]) {
+      const mainStore = useMainStore();
       try {
         const response = (
           await Promise.all([