mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix(amis-ui): 修复inputBox默认值0或者false不回现问题
This commit is contained in:
parent
577072bf8d
commit
e172fcc63e
@ -104,7 +104,7 @@ export class InputBox extends React.Component<InputBoxProps, InputBoxState> {
|
||||
|
||||
<Input
|
||||
{...rest}
|
||||
value={value || ''}
|
||||
value={value ?? ''}
|
||||
onChange={this.handleChange}
|
||||
placeholder={placeholder}
|
||||
onFocus={this.handleFocus}
|
||||
|
Loading…
Reference in New Issue
Block a user