mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 19:47:56 +08:00
Merge pull request #11225 from allenve/fix-addBroadcast-bind
fix: 广播事件绑定this指向
This commit is contained in:
commit
62f6bfbc94
@ -3011,8 +3011,8 @@ export const getEventControlConfig = (
|
||||
commonActions,
|
||||
globalEvents,
|
||||
owner: '',
|
||||
addBroadcast: manager?.addBroadcast,
|
||||
removeBroadcast: manager?.removeBroadcast,
|
||||
addBroadcast: manager?.addBroadcast.bind(manager),
|
||||
removeBroadcast: manager?.removeBroadcast.bind(manager),
|
||||
allComponents: allComponents,
|
||||
getContextSchemas: async (id?: string, withoutSuper?: boolean) => {
|
||||
const dataSchema = await manager.getContextSchemas(
|
||||
|
Loading…
Reference in New Issue
Block a user