mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 19:47:56 +08:00
Merge pull request #3938 from hsm-lv/fix-nestedselect-event
fix:nestedselect移动端change事件失效问题
This commit is contained in:
commit
80dc1bc487
@ -15,7 +15,7 @@ export class ToastAction implements Action {
|
|||||||
renderer: ListenerContext,
|
renderer: ListenerContext,
|
||||||
event: RendererEvent<any>
|
event: RendererEvent<any>
|
||||||
) {
|
) {
|
||||||
event.context.env.notify?.(action.msgType, action.msg, action);
|
event.context.env.notify?.(action.msgType || 'info', action.msg, action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -895,6 +895,7 @@ export default class NestedSelectControl extends React.Component<
|
|||||||
<Cascader
|
<Cascader
|
||||||
onClose={this.close}
|
onClose={this.close}
|
||||||
{...this.props}
|
{...this.props}
|
||||||
|
onChange={this.handleResultChange}
|
||||||
options={this.props.options.slice()}
|
options={this.props.options.slice()}
|
||||||
value={selectedOptions}
|
value={selectedOptions}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user