From e8f5cf04879a1cdbe5a8608f17fb0d12057403d6 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Wed, 25 Jun 2025 14:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9pluginProxy.value=20&&=20plug?= =?UTF-8?q?inProxy.value['invokeMethod']bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/components/plugin/src/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core-frontend/src/components/plugin/src/index.vue b/core/core-frontend/src/components/plugin/src/index.vue index aebd986..aab8bea 100644 --- a/core/core-frontend/src/components/plugin/src/index.vue +++ b/core/core-frontend/src/components/plugin/src/index.vue @@ -97,10 +97,9 @@ const storeCacheProxy = byteArray => { } const pluginProxy = ref(null) const invokeMethod = param => { - debugger if (pluginProxy.value && pluginProxy.value['invokeMethod']) { pluginProxy.value['invokeMethod'](param) - } else if (param.methodName && pluginProxy.value[param.methodName]) { + }else if(param.methodName && pluginProxy.value && pluginProxy.value[param.methodName]){ pluginProxy.value[param.methodName](param.args) } }