Unverified 提交 aa693f0e authored 作者: JarvanMo's avatar JarvanMo 提交者: GitHub

Fix #703

Fix #703
上级 caaffa50
...@@ -100,9 +100,9 @@ class MethodChannelFluwx extends FluwxPlatform { ...@@ -100,9 +100,9 @@ class MethodChannelFluwx extends FluwxPlatform {
Future<bool> open(OpenType target) async { Future<bool> open(OpenType target) async {
switch (target) { switch (target) {
case WeChatApp(): case WeChatApp():
return await methodChannel.invokeMethod('openWXApp') ?? false; return await methodChannel.invokeMethod('openWXApp', target.arguments) ?? false;
case Browser(): case Browser():
return await methodChannel.invokeMethod('openUrl') ?? false; return await methodChannel.invokeMethod('openUrl', target.arguments) ?? false;
case RankList(): case RankList():
return await methodChannel.invokeMethod("openRankList") ?? false; return await methodChannel.invokeMethod("openRankList") ?? false;
case BusinessView(): case BusinessView():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论