Skip to content

Commit 5e47104

Browse files
committed
fair兼容web
1 parent e79c8b7 commit 5e47104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fair/lib/src/runtime/fair_message_channel_web.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class FairMessageChannel {
4545

4646
if (funcName == 'invokePlugin') {
4747
var p = await FairPluginDispatcher.dispatch(invokeData);
48-
return p;
48+
callback.call(p);
49+
return;
4950
}
5051
var result = _callback?.call(invokeData);
5152
callback.call(result);

0 commit comments

Comments
 (0)