@@ -88,7 +88,7 @@ export default defineComponent({
88
88
disabled . value && 'is-disabled' ,
89
89
isExpanded . value && 'is-expanded' ,
90
90
isSelected . value && 'is-selected' ,
91
- isChecked . value && 'is-checked' ,
91
+ ( isChecked . value || isIndeterminate . value ) && 'is-checked' ,
92
92
isActive . value && 'is-active' ,
93
93
] . filter ( Boolean ) ,
94
94
) ;
@@ -191,7 +191,7 @@ export default defineComponent({
191
191
< span class = { currentClassList } >
192
192
{ ! checkable . value && isSelected . value
193
193
? (
194
- < CheckOutlined />
194
+ < CheckOutlined class = { 'is-checked' } />
195
195
)
196
196
: null }
197
197
</ span >
@@ -205,10 +205,10 @@ export default defineComponent({
205
205
>
206
206
{ isInitLoading . value || isLoading . value
207
207
? (
208
- < LoadingOutlined />
208
+ < LoadingOutlined />
209
209
)
210
210
: (
211
- < RightOutlined />
211
+ < RightOutlined />
212
212
) }
213
213
</ span >
214
214
) ;
@@ -219,24 +219,24 @@ export default defineComponent({
219
219
< span class = { `${ prefixCls } -checkbox` } >
220
220
{ isCheckLoaded . value
221
221
? (
222
- < Checkbox
223
- indeterminate = { isIndeterminate . value }
224
- modelValue = { isChecked . value }
225
- onChange = { handleClickCheckbox }
226
- disabled = { props . disabled }
227
- />
228
- )
229
- : (
230
- < Tooltip
231
- placement = "top-start"
232
- content = { loadingRequiredMessage . value }
233
- >
234
222
< Checkbox
235
223
indeterminate = { isIndeterminate . value }
236
224
modelValue = { isChecked . value }
237
- disabled = { true }
225
+ onChange = { handleClickCheckbox }
226
+ disabled = { props . disabled }
238
227
/>
239
- </ Tooltip >
228
+ )
229
+ : (
230
+ < Tooltip
231
+ placement = "top-start"
232
+ content = { loadingRequiredMessage . value }
233
+ >
234
+ < Checkbox
235
+ indeterminate = { isIndeterminate . value }
236
+ modelValue = { isChecked . value }
237
+ disabled = { true }
238
+ />
239
+ </ Tooltip >
240
240
) }
241
241
</ span >
242
242
) ;
0 commit comments