mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] update eslint rules (#2089)
This commit is contained in:
@@ -19,8 +19,15 @@
|
||||
])"
|
||||
@click="onClick"
|
||||
>
|
||||
<loading v-if="loading" size="20px" :color="type === 'default' ? void 0 : ''" />
|
||||
<span v-else :class="b('text')">
|
||||
<loading
|
||||
v-if="loading"
|
||||
size="20px"
|
||||
:color="type === 'default' ? void 0 : ''"
|
||||
/>
|
||||
<span
|
||||
v-else
|
||||
:class="b('text')"
|
||||
>
|
||||
<slot>{{ text }}</slot>
|
||||
</span>
|
||||
</component>
|
||||
|
Reference in New Issue
Block a user