[improvement] update eslint rules (#2089)

This commit is contained in:
neverland
2018-11-15 15:30:17 +08:00
committed by GitHub
parent 0860901ec1
commit e14b43e66a
129 changed files with 1874 additions and 456 deletions
+11 -2
View File
@@ -8,10 +8,19 @@
<div :class="b('body')">
<h2>{{ data.name }}</h2>
<p>{{ validPeriod }}</p>
<checkbox v-if="chosen" :class="b('corner')" :value="true" />
<checkbox
v-if="chosen"
:class="b('corner')"
value
/>
</div>
</div>
<p v-if="disabled && data.reason" :class="b('reason')">{{ data.reason }}</p>
<p
v-if="disabled && data.reason"
:class="b('reason')"
>
{{ data.reason }}
</p>
</div>
</template>