fix(core): update
This commit is contained in:
parent
04702c4098
commit
849f4f617b
@ -13,6 +13,10 @@ export class SmartCls {
|
||||
|
||||
public get(keyArg: string) {
|
||||
const store: any = this.asyncLocalStorage.getStore();
|
||||
return store[keyArg];
|
||||
if (store) {
|
||||
return store[keyArg];
|
||||
} else {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user