diff --git a/src/components/Table/src/components/editable/EditableCell.vue b/src/components/Table/src/components/editable/EditableCell.vue index 0767e02a..858076fb 100644 --- a/src/components/Table/src/components/editable/EditableCell.vue +++ b/src/components/Table/src/components/editable/EditableCell.vue @@ -83,7 +83,7 @@ export default defineComponent({ const valueField = isCheckValue ? 'checked' : 'value' const val = unref(currentValueRef) - const value = isCheckValue ? (isNumber(val) && isBoolean(val) ? val : !!val) : val + const value = isCheckValue ? (isNumber(val) || isBoolean(val) ? val : !!val) : val let compProps = props.column?.editComponentProps ?? {} const { record, column, index } = props