فهرست منبع

mod:进度条 调整

panqiuyao 6 ماه پیش
والد
کامیت
683e68ed6f
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.round(progress.value + step)
+      progress.value == Math.min(Math.round(progress.value + step),100)
     }
   }, 1000)
 }