mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 12:58:38 +08:00
fix:action.args为null时数据问题 (#5523)
This commit is contained in:
parent
f139f9f508
commit
5a2ef461c0
@ -32,7 +32,7 @@ export class BroadcastAction implements RendererAction {
|
||||
}
|
||||
|
||||
// 作为一个新的事件,需要把广播动作的args参数追加到事件数据中
|
||||
event.setData(createObject(event.data, action.args));
|
||||
event.setData(createObject(event.data, action.args ?? {}));
|
||||
|
||||
// 直接触发对应的动作
|
||||
return await dispatchEvent(
|
||||
|
Loading…
Reference in New Issue
Block a user