Merge pull request #10896 from dataease/pr@dev-v2@refactor_plugin_method_call

refactor(图表): 插件方法调用
This commit is contained in:
wisonic-s 2024-07-11 11:22:07 +08:00 committed by GitHub
commit 58a3284f91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,7 +94,7 @@ const invokeMethod = param => {
if (pluginProxy.value['invokeMethod']) {
pluginProxy.value['invokeMethod'](param)
} else {
pluginProxy.value[param.methodName]?.(param.args)
pluginProxy.value[param.methodName]?.(...param.args)
}
}