SyuanYu 8 mēneši atpakaļ
vecāks
revīzija
c602071fc9
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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([