migrate session list page /user security page to composition API and typescript

This commit is contained in:
MaysWind
2025-01-21 23:38:06 +08:00
parent 568abb6e03
commit e053528abf
6 changed files with 397 additions and 373 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export class SessionInfo {
public readonly createdByCli: boolean;
public readonly lastSeen: number;
private constructor(tokenId: string, isCurrent: boolean, deviceType: string, deviceInfo: string, createdByCli: boolean, lastSeen: number) {
protected constructor(tokenId: string, isCurrent: boolean, deviceType: string, deviceInfo: string, createdByCli: boolean, lastSeen: number) {
this.tokenId = tokenId;
this.isCurrent = isCurrent;
this.deviceType = deviceType;