mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vben.git
synced 2025-12-30 10:32:25 +00:00
fix: switch
This commit is contained in:
@@ -166,8 +166,9 @@ setupVbenVxeTable({
|
||||
}
|
||||
|
||||
return h(NSwitch, finallyProps, {
|
||||
checked: () => h('p', $t('common.enabled')),
|
||||
unchecked: () => h('p', $t('common.disabled')),
|
||||
checked: () => h('p', props?.checkedChildren ?? $t('common.enabled')),
|
||||
unchecked: () =>
|
||||
h('p', props?.uncheckedChildren ?? $t('common.disabled')),
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user