[Improvement] eslint: use vue-libs (#1237)

This commit is contained in:
neverland
2018-06-07 11:59:02 +08:00
committed by GitHub
parent 5b7542b8f0
commit a1c5c6fef4
27 changed files with 222 additions and 344 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div :class="b([type, color])" :style="style">
<span :class="b('spinner', type)">
<i v-for="item in (type === 'spinner' ? 12 : 0)" />
<i v-for="(item, index) in (type === 'spinner' ? 12 : 0)" :key="index" />
<svg v-if="type === 'circular'" :class="b('circular')" viewBox="25 25 50 50">
<circle cx="50" cy="50" r="20" fill="none"/>
</svg>