master-custom/鲁控数字-薪资核算列表页面批量编辑

custom/鲁控数字-薪资核算列表页面批量编辑
黎永顺 2 years ago
parent 5af8fc24a3
commit 7a41d131c7

@ -37,6 +37,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
word-break: keep-all; word-break: keep-all;
min-height: 18px;
} }
:global { :global {

@ -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>;

Loading…
Cancel
Save