11
This commit is contained in:
@@ -16,20 +16,22 @@ export class StateHelper {
|
||||
static get userId() {
|
||||
return this.userStore.userId;
|
||||
}
|
||||
static SetToken(userId: string, token: string, refToken: string) {
|
||||
this.userStore.setToken(userId, token, refToken);
|
||||
}
|
||||
|
||||
static SetSid(sid: string) {
|
||||
this.userStore.setSid(sid);
|
||||
}
|
||||
|
||||
static OffOnline()
|
||||
{
|
||||
static OffOnline() {
|
||||
this.userStore.offOnline();
|
||||
}
|
||||
static get IsAccLogin(){
|
||||
static get IsAccLogin() {
|
||||
return this.userStore.isLoginAccount;
|
||||
}
|
||||
|
||||
static get IsLogin(){
|
||||
static get IsLogin() {
|
||||
return this.userStore.isLogin;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user