Ver Fonte

新增参数

loki.wu há 2 anos atrás
pai
commit
30760d261f
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      lib/notifications/center.dart

+ 2 - 0
lib/notifications/center.dart

@@ -20,6 +20,8 @@ class WsNotificationCenter extends NotificationCenter {
   @override
   IConnection get connection => _connection!;
 
+  String get host => _host ?? '';
+
   /// 设置主机地址
   ///
   /// [host] 主机地址