mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-16 16:26:45 +10:00
避免 value 正好是数字 0 (#4401)
This commit is contained in:
@@ -58,7 +58,7 @@ class EditableCell extends React.Component {
|
||||
</div>
|
||||
:
|
||||
<div className="editable-row-text">
|
||||
{value || ' '}
|
||||
{value.toString() || ' '}
|
||||
</div>
|
||||
}
|
||||
</div>);
|
||||
|
||||
Reference in New Issue
Block a user