This commit is contained in:
icssoa
2025-08-08 10:29:54 +08:00
parent 9aeb5925be
commit 3e59a31732
2 changed files with 2 additions and 5 deletions

View File

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

View File

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