Преглед на файлове

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>