Spinner: v-bind:style -> :style (#11997)

pull/12010/head
38elements 2018-07-15 17:57:05 +09:00 committed by Jikkai Xiao
parent 255228af39
commit f6d8b33901
1 changed files with 1 additions and 1 deletions

View File

@ -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>