File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments