fix: switch
parent
6979dbfa52
commit
15edcb1d7b
|
|
@ -166,8 +166,9 @@ setupVbenVxeTable({
|
||||||
}
|
}
|
||||||
|
|
||||||
return h(NSwitch, finallyProps, {
|
return h(NSwitch, finallyProps, {
|
||||||
checked: () => h('p', $t('common.enabled')),
|
checked: () => h('p', props?.checkedChildren ?? $t('common.enabled')),
|
||||||
unchecked: () => h('p', $t('common.disabled')),
|
unchecked: () =>
|
||||||
|
h('p', props?.uncheckedChildren ?? $t('common.disabled')),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue