diff --git a/src/circle/index.js b/src/circle/index.js index 2f1764fa6..e2b9f64d6 100644 --- a/src/circle/index.js +++ b/src/circle/index.js @@ -84,7 +84,7 @@ export default createComponent({ const offset = (PERIMETER * this.value) / 100; return { - stroke: `${this.color}`, + stroke: `${this.gradient ? `url(#${this.uid})` : this.color}`, strokeWidth: `${+this.strokeWidth + 1}px`, strokeLinecap: this.strokeLinecap, strokeDasharray: `${offset}px ${PERIMETER}px`, @@ -158,12 +158,7 @@ export default createComponent({ {this.slots() || (this.text &&