fix语言包为null
This commit is contained in:
parent
e0c0d03f4e
commit
02798b1c1d
@ -121,7 +121,7 @@ function setWs(server: WsServer<ServiceType>) {
|
||||
|
||||
//判断是否登录
|
||||
if (!['user/Ping', 'user/Login'].includes(call.service.name) && !call.conn.uid) {
|
||||
call.error(globalThis.lng.qingxiandenglu);
|
||||
call.error("qingxiandenglu");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user