Browse Source

Merge branch 'front-dev' of http://git.choozmo.com:3000/ai-anchor/video-maker

tomoya 2 years ago
parent
commit
fcac3fecac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/src/views/main/Upload.vue

+ 1 - 1
frontend/src/views/main/Upload.vue

@@ -21,11 +21,11 @@ watch(dialog, (newVal, oldVal) => {
 });
 
 async function Submit() {
+  dialog.value = true;
   await (Form as any).value.validate();
   if (valid.value) {
     await mainStore.uploadPlot(title.value, zipFiles.value[0]);
     (Form as any).value.reset();
-    dialog.value = true;
   }
 }
 </script>