[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

View File

@@ -21,8 +21,18 @@
:text="currentRate2.toFixed(0) + '%'"
/>
<div>
<van-button :text="$t('add')" type="primary" size="small" @click="add" />
<van-button :text="$t('decrease')" type="danger" size="small" @click="reduce" />
<van-button
:text="$t('add')"
type="primary"
size="small"
@click="add"
/>
<van-button
:text="$t('decrease')"
type="danger"
size="small"
@click="reduce"
/>
</div>
</demo-block>
</demo-section>

View File

@@ -1,8 +1,19 @@
<template>
<div :class="b()" :style="style">
<div
:class="b()"
:style="style"
>
<svg viewBox="0 0 1060 1060">
<path :class="b('hover')" :style="hoverStyle" :d="path" />
<path :class="b('layer')" :style="layerStyle" :d="path" />
<path
:class="b('hover')"
:style="hoverStyle"
:d="path"
/>
<path
:class="b('layer')"
:style="layerStyle"
:d="path"
/>
</svg>
<slot>
<div :class="b('text')">{{ text }}</div>