forked from github/dataease
Merge pull request #10896 from dataease/pr@dev-v2@refactor_plugin_method_call
refactor(图表): 插件方法调用
This commit is contained in:
commit
58a3284f91
@ -94,7 +94,7 @@ const invokeMethod = param => {
|
|||||||
if (pluginProxy.value['invokeMethod']) {
|
if (pluginProxy.value['invokeMethod']) {
|
||||||
pluginProxy.value['invokeMethod'](param)
|
pluginProxy.value['invokeMethod'](param)
|
||||||
} else {
|
} else {
|
||||||
pluginProxy.value[param.methodName]?.(param.args)
|
pluginProxy.value[param.methodName]?.(...param.args)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user