Circle prop:strokeColor support Array to support gradient ramp

This commit is contained in:
梁灏 2019-09-04 18:15:20 +08:00
parent 64de8de933
commit 0264b7c4fd
3 changed files with 38 additions and 2 deletions

View file

@ -15,6 +15,10 @@
<i-circle :percent="80" dashboard stroke-linecap="square">
<span class="demo-circle-inner" style="font-size:24px">80%</span>
</i-circle>
<Divider></Divider>
<i-circle :percent="80" dashboard stroke-linecap="square" :stroke-color="['#108ee9', '#87d068']">
<span class="demo-circle-inner" style="font-size:24px">80%</span>
</i-circle>
</div>
</template>
<script>