SyuanYu 2 mesi fa
parent
commit
c602071fc9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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([