瀏覽代碼

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

zhujindu 2 天之前
父節點
當前提交
f7baa17e5f
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/components/uploadVNormalTaskPhoto.vue

+ 5 - 0
src/components/uploadVNormalTaskPhoto.vue

@@ -371,6 +371,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 = [];