mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
fix(amis): 搜索组件功能失效问题修复
This commit is contained in:
parent
2642f4df63
commit
7b3994b86f
@ -188,6 +188,7 @@ export class SearchBoxRenderer extends React.Component<
|
||||
const {
|
||||
data,
|
||||
name,
|
||||
disabled,
|
||||
onQuery: onQuery,
|
||||
mini,
|
||||
enhance,
|
||||
@ -208,7 +209,8 @@ export class SearchBoxRenderer extends React.Component<
|
||||
className={className}
|
||||
style={style}
|
||||
name={name}
|
||||
disabled={!onQuery}
|
||||
// disabled={!onQuery}
|
||||
disabled={disabled}
|
||||
defaultActive={!!value}
|
||||
defaultValue={onChange ? undefined : value}
|
||||
value={value}
|
||||
|
Loading…
Reference in New Issue
Block a user