token中有笔误

This commit is contained in:
Xu Chang 2022-09-15 17:08:35 +08:00
parent 61086ad2b5
commit 51753c97a2
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ var Token = /** @class */ (function (_super) {
})];
case 2:
data = (_a.sent()).data;
this.token = data;
this.token = data[0];
_a.label = 3;
case 3:
this.rwLock.release();

View File

@ -97,7 +97,7 @@ export class Token<
id: this.tokenValue!,
},
});
this.token = data as any;
this.token = data[0] as any;
}
this.rwLock.release();
}