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

View File

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