222
This commit is contained in:
BIN
Web/src/assets/images/logo.png
Normal file
BIN
Web/src/assets/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
24
Web/src/composables/StateHelper.ts
Normal file
24
Web/src/composables/StateHelper.ts
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
export class StateHelper {
|
||||||
|
|
||||||
|
private static get userStore() {
|
||||||
|
return useUserStore()
|
||||||
|
}
|
||||||
|
static get Sid() {
|
||||||
|
const userStoret = useUserStore();
|
||||||
|
return userStoret.sid;
|
||||||
|
}
|
||||||
|
static get Token() {
|
||||||
|
return this.userStore.token;
|
||||||
|
}
|
||||||
|
static get refToken() {
|
||||||
|
return this.userStore.refToken;
|
||||||
|
}
|
||||||
|
static get userId() {
|
||||||
|
return this.userStore.userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
static SetSid(sid: string) {
|
||||||
|
this.userStore.setSid(sid);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user