Explorar el Código

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

zhujindu hace 2 días
padre
commit
7c7ee219ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/uploadVNormalTaskPhoto.vue

+ 1 - 1
src/components/uploadVNormalTaskPhoto.vue

@@ -490,7 +490,7 @@ export default {
           document.getElementById('d2ring').style.strokeDashoffset = offset;
           document.getElementById('d2sub').textContent = `${this.d2count}/${this.uploadImgTotal}`;
           // this.d2count >= Math.floor(this.uploadImgTotal * (0.4 + Math.random() * 0.5))
-          if (this.d2count >= Math.floor(this.uploadImgTotal * 0.1) && isFirst) {
+          if (this.d2count >= Math.floor(this.uploadImgTotal * 0.9) && isFirst) {
             clearTimeout(this.d2timer);
             return;
           }