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

This commit is contained in:
38elements 2018-07-15 17:57:05 +09:00 committed by Jikkai Xiao
parent 255228af39
commit f6d8b33901

View File

@ -1,6 +1,6 @@
<template>
<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>
</svg>
</span>