Browse Source

fix image

SyuanYu 2 years ago
parent
commit
c491c1dd52
1 changed files with 2 additions and 1 deletions
  1. 2 1
      frontend/src/views/main/Image.vue

+ 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);
   };
 });