fix: switch
This commit is contained in:
@@ -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')),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user