保存一下
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
import { AService } from '@/core/service/kernel/AService.ts'
|
||||
import type { IObservable } from '@/core/state/IObservable.ts'
|
||||
|
||||
interface IUserInfo {
|
||||
id: string;
|
||||
name: string;
|
||||
token: string;
|
||||
}
|
||||
|
||||
export class UserService extends AService {
|
||||
private _userInfo: IObservable<IUserInfo>;
|
||||
get userInfo() {
|
||||
return this._userInfo;
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super("UserService");
|
||||
console.log("UserService - 服务注册")
|
||||
|
||||
Reference in New Issue
Block a user