Skip to content

Commit 838861f

Browse files
committed
Merge branch 'v2-dev' of https://github.com/jdf2e/nutui into v2-dev
2 parents 3353697 + c9255aa commit 838861f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/packages/circleprogress/circleprogress.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
:stroke-dasharray="arcLength"
1111
:stroke-width="strokeInnerWidth"
1212
fill="none"
13-
transform="rotate(-90)"
14-
transform-origin="center"
13+
:transform="option.startPosition"
1514
stroke-linecap="round"
1615
style="transition: stroke-dasharray 0.6s ease 0s, stroke 0.6s ease 0s;"
1716
/>
@@ -72,6 +71,7 @@ export default {
7271
// 圆心位置自动生成
7372
baseOption.cy = baseOption.cx = baseOption.radius + baseOption.strokeOutWidth;
7473
baseOption.size = (baseOption.radius + baseOption.strokeOutWidth) * 2;
74+
baseOption.startPosition = 'rotate(-90,' + baseOption.cx + ',' + baseOption.cy + ')';
7575
return baseOption;
7676
}
7777
}

src/packages/uploader/uploader.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,12 @@ export default {
147147
}
148148
};
149149
},
150-
// 测试
151150
preventMoreClick() {
152151
setTimeout(() => {
153152
this.newdisabled = true;
154153
}, 0);
155154
setTimeout(() => {
156-
this.newdisabled = false; //点击一次时隔50豪秒后才能再次点击
155+
this.newdisabled = false;
157156
}, 500);
158157
},
159158
uploadData($event, selfData = {}, fileBlob = undefined) {

0 commit comments

Comments
 (0)