SyuanYu 4 months ago
parent
commit
c602071fc9
1 changed files with 1 additions and 0 deletions
  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([