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