|
|
@ -272,7 +272,8 @@ const EditableCell: React.FC<EditableCellProps> = (props) => {
|
|
|
|
<Input ref={inputRef} onPressEnter={save} onBlur={save}/>}
|
|
|
|
<Input ref={inputRef} onPressEnter={save} onBlur={save}/>}
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
) : (
|
|
|
|
) : (
|
|
|
|
<div className={cs({ [styles["editable-cell"]]: record[dataIndex] })} onClick={toggleEdit}> {children} </div>
|
|
|
|
// record[dataIndex]
|
|
|
|
|
|
|
|
<div className={cs({ [styles["editable-cell"]]: true })} onClick={toggleEdit}> {children} </div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return <td {...restProps}>{childNode}</td>;
|
|
|
|
return <td {...restProps}>{childNode}</td>;
|
|
|
|