loki.wu %!s(int64=2) %!d(string=hai) anos
pai
achega
30760d261f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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] 主机地址