[bugfix] Button: loading color (#1768)

This commit is contained in:
neverland
2018-09-07 15:47:33 +08:00
committed by GitHub
parent ddeb0892d9
commit 3000760fcc
3 changed files with 4 additions and 4 deletions

View File

@@ -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>