浏览代码

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

38elements 7 年之前
父节点
当前提交
f6d8b33901
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/spinner/src/spinner.vue

+ 1 - 1
packages/spinner/src/spinner.vue

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