优化
This commit is contained in:
@@ -39,10 +39,7 @@
|
|||||||
v-else-if="isLoading && showLoading"
|
v-else-if="isLoading && showLoading"
|
||||||
>
|
>
|
||||||
<slot name="loading">
|
<slot name="loading">
|
||||||
<cl-loading
|
<cl-loading :loading="true"></cl-loading>
|
||||||
:loading="true"
|
|
||||||
:pt="{ icon: { className: '!text-surface-400' } }"
|
|
||||||
></cl-loading>
|
|
||||||
</slot>
|
</slot>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
class="cl-loading"
|
class="cl-loading"
|
||||||
:class="[
|
:class="[
|
||||||
{
|
{
|
||||||
'is-dark': isDark,
|
'is-dark': isDark && color == '',
|
||||||
'cl-loading--spin': loading,
|
'cl-loading--spin': loading,
|
||||||
'!border-primary-500': color == 'primary',
|
'!border-primary-500': color == 'primary',
|
||||||
'!border-green-500': color == 'success',
|
'!border-green-500': color == 'success',
|
||||||
|
|||||||
Reference in New Issue
Block a user