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