mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[improvement] update eslint rules (#2089)
This commit is contained in:
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user