Skip to content

Commit

Permalink
Merge pull request #344 from wanbing/dev_wanbing
Browse files Browse the repository at this point in the history
bindFunctionOf params bugFix
  • Loading branch information
wanbing authored Sep 13, 2023
2 parents c8c326c + 012a82e commit 083178b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fair/lib/src/internal/bind_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ class BindingData {
return ([props]) {
var arguments = [];
if (props != null) {
arguments.add(props);
arguments.addAll(props);
}
if (args != null) {
arguments.add(args);
arguments.addAll(args);
}
_functions?['runtimeInvokeMethod']?.call(rFuncName, arguments);
};
Expand Down
2 changes: 1 addition & 1 deletion fair/lib/src/runtime/runtime_fair_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ abstract class RuntimeFairDelegate {
var arguments;
if (props != null) {
arguments = [];
arguments.add(props);
arguments.addAll(props);
}
return runtime?.invokeMethod(pageName, funcName, arguments);
};
Expand Down

0 comments on commit 083178b

Please sign in to comment.