This commit is contained in:
Taric Xin
2021-12-20 10:07:52 +08:00
parent 46fb4d51e8
commit 91dcc20d9a
2 changed files with 10 additions and 5 deletions

View File

@ -12,7 +12,7 @@ export class DunHelper {
userInfo;
constructor(private overlay: Overlay) {
this.userInfo = JSON.parse(localStorage.getItem('user') || '');
this.userInfo = JSON.parse(localStorage.getItem('user') || '{}');
}
/**