We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd62769 commit d7e61ffCopy full SHA for d7e61ff
src/components/progress.vue
@@ -151,8 +151,12 @@
151
}
152
},
153
stroke () {
154
+ if (this.strokeColor) {
155
+ return this.strokeColor;
156
+ }
157
+
158
let ret
- switch (this.st) {
159
+ switch (this.st) {
160
case 'success':
161
ret = '#13ce66'
162
break
@@ -166,7 +170,7 @@
166
170
ret = '#ff4949'
167
171
168
172
default:
169
- ret = this.strokeColor ? this.strokeColor : '#20a0ff'
173
+ ret = '#20a0ff'
174
175
return ret
176
0 commit comments