mirror of
https://github.com/youzan/vant.git
synced 2025-12-22 01:07:29 +08:00
[Improvement] Loading: change default type to circular (#623)
This commit is contained in:
@@ -16,12 +16,7 @@
|
||||
]"
|
||||
@click="onClick"
|
||||
>
|
||||
<loading
|
||||
v-if="loading"
|
||||
class="van-button__icon-loading"
|
||||
type="circle"
|
||||
:color="type === 'default' ? 'black' : 'white'"
|
||||
/>
|
||||
<loading v-if="loading" size="20px" :color="type === 'default' ? 'black' : 'white'" />
|
||||
<span class="van-button__text">
|
||||
<slot>{{ text }}</slot>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user