Просмотр исходного кода

feature_20260506_增加照片上传进度UI效果

zhujindu 2 дней назад
Родитель
Сommit
7df5ea1281
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/components/uploadVNormalTaskPhoto.vue

+ 2 - 1
src/components/uploadVNormalTaskPhoto.vue

@@ -477,8 +477,9 @@ export default {
       }
       if (this.uploadImgDemo >= 2) {
         this.d2timer = setTimeout(() => {
-          if (this.d2count > 0)
+          if (this.d2count > 0) {
             document.getElementById(`dot${this.d2count - 1}`).className = 'ring-dot done';
+          }
           document.getElementById(`dot${this.d2count}`).className = 'ring-dot active';
           document.getElementById('d2name').textContent = '正在上传。。。';
           this.d2count++;