فهرست منبع

Merge branch 'front-dev' of ai-anchor/video-maker into master

tomoya 2 سال پیش
والد
کامیت
3a38610fac
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 0
      frontend/src/views/Login.vue
  2. 2 1
      frontend/src/views/main/Image.vue

+ 1 - 0
frontend/src/views/Login.vue

@@ -111,6 +111,7 @@ onMounted(() => {
             :label="$t('password')"
             hint="4-12 位數密碼"
             @click:append="showPassword = !showPassword"
+            @keyup.enter="submit"
             required
           ></v-text-field>
 

+ 2 - 1
frontend/src/views/main/Image.vue

@@ -77,9 +77,10 @@ onMounted(() => {
         if (item.stored_file_name === e.data) {
           image.file_name = item.file_name;
           image.stored_file_name = item.stored_file_name;
+          mainStore.finishImage(image);
         }
       });
-      mainStore.finishImage(image);
+      
     }, 1000);
   };
 });