panqiuyao преди 6 месеца
родител
ревизия
896921ca0e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      frontend/src/views/Photography/detail.vue

+ 1 - 1
frontend/src/views/Photography/detail.vue

@@ -468,7 +468,7 @@ const openLoadingDialog = (timer: number) => {
   const step = 100 / timer
   INTERVAL.value = setInterval(() => {
     if (progress.value < 100) {
-      progress.value == Math.min(Math.round(progress.value + step),100)
+      progress.value = Math.min(Math.round(progress.value + step),100)
     }
   }, 1000)
 }