add and change function

This commit is contained in:
lizhi 2021-12-17 16:50:00 +08:00
parent f855f49ec7
commit 786efa8279

View File

@ -228,7 +228,6 @@ public class DesktopEngine extends JSEngine {
public Object invokeFunction(String functionName, Object... args) {
Invocable cal = engine;
try {
return cal.invokeFunction(functionName, args);
} catch (ScriptException e) {
@ -236,7 +235,6 @@ public class DesktopEngine extends JSEngine {
} catch (NoSuchMethodException e) {
e.printStackTrace();
}
return null;
}