mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[Improvement] Button: optimize loading (#1756)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
@click="onClick"
|
||||
>
|
||||
<loading v-if="loading" size="20px" :color="type === 'default' ? 'black' : 'white'" />
|
||||
<span :class="b('text')">
|
||||
<span v-else :class="b('text')">
|
||||
<slot>{{ text }}</slot>
|
||||
</span>
|
||||
</component>
|
||||
|
Reference in New Issue
Block a user