mirror of https://github.com/ElemeFE/element
Spinner: v-bind:style -> :style (#11997)
parent
255228af39
commit
f6d8b33901
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<span class="el-spinner">
|
<span class="el-spinner">
|
||||||
<svg class="el-spinner-inner" viewBox="0 0 50 50" v-bind:style="{ width: radius/2 + 'px', height: radius/2 + 'px' }">
|
<svg class="el-spinner-inner" viewBox="0 0 50 50" :style="{ width: radius/2 + 'px', height: radius/2 + 'px' }">
|
||||||
<circle class="path" cx="25" cy="25" r="20" fill="none" :stroke="strokeColor" :stroke-width="strokeWidth"></circle>
|
<circle class="path" cx="25" cy="25" r="20" fill="none" :stroke="strokeColor" :stroke-width="strokeWidth"></circle>
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue