Browse Source

1、尝试修复rpc报错问题

guanxinyi 1 year ago
parent
commit
116a776081
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/rpc.dart

+ 1 - 1
lib/rpc.dart

@@ -49,7 +49,7 @@ class JsonRpcProxy {
   /// 平台服务
   PlatformService get platform {
     if (_platformService == null)
-      _platformService = PlatformService("http://$platformHost");
+      _platformService = PlatformService("http://$platformHost", timeout: 15000);
     return _platformService!;
   }