浏览代码

Merge branch 'feature_20260506_增加照片上传进度UI效果' into uat(dev)

zhujindu 1 天之前
父节点
当前提交
2b86348f7e
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/components/uploadVNormalTaskPhoto.vue

+ 5 - 0
src/components/uploadVNormalTaskPhoto.vue

@@ -389,6 +389,11 @@ export default {
     normalFlow(res) {
       this.runD2(100, false, () => {
         clearTimeout(this.d2timer);
+        this.d2running = false;
+        this.d2count = 0;
+        document.getElementById('d2ring').style.strokeDashoffset = 251.2;
+        document.getElementById('d2pct').textContent = '0%';
+        document.getElementById('d2sub').textContent = '上传中';
         this.uploadImgFlag = false;
         this.$toast('上传成功!');
         let fileInfoList = [];