feat(DOC): 完整地审查了代码,更完整的注释说明
- 无代码修改
This commit is contained in:
@@ -64,6 +64,7 @@ export class DefaultSessionManager {
|
||||
*/
|
||||
clearCache(): void {
|
||||
this.currentUser = null;
|
||||
// 神人判断,没用接口
|
||||
// 清除存储适配器中的所有项(如果支持)
|
||||
if ('clear' in this.storage && typeof this.storage.clear === 'function') {
|
||||
this.storage.clear();
|
||||
|
||||
Reference in New Issue
Block a user