mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +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,
|
||||
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
|
||||
onClose={this.close}
|
||||
{...this.props}
|
||||
onChange={this.handleResultChange}
|
||||
options={this.props.options.slice()}
|
||||
value={selectedOptions}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user