mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
chore:事件动作文档补充demo&去掉事件参数中的nativeEvent(从context获取)
This commit is contained in:
parent
bbbc804943
commit
3281e849b9
@ -37,7 +37,7 @@ export class ToastAction implements RendererAction {
|
||||
if (!renderer.props.env?.notify) {
|
||||
throw new Error('env.notify is required!');
|
||||
}
|
||||
debugger;
|
||||
|
||||
event.context.env.notify?.(
|
||||
action.args?.msgType || 'info',
|
||||
String(action.args?.msg),
|
||||
|
Loading…
Reference in New Issue
Block a user