合并为一个项目 #14

Merged
xiaohai2271 merged 56 commits from issue11 into master 2020-05-16 22:35:08 +08:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 1c7f189d11 - Show all commits

View File

@@ -24,7 +24,8 @@
<nz-statistic [nzValue]="(dayVisitCount | number)!" nzTitle="日访问量"></nz-statistic> <nz-statistic [nzValue]="(dayVisitCount | number)!" nzTitle="日访问量"></nz-statistic>
</nz-col> </nz-col>
<nz-col [nzSpan]="8"> <nz-col [nzSpan]="8">
<nz-statistic [nzValue]="userInfo.recentlyLandedDate" nzTitle="上次登录"></nz-statistic> <nz-statistic [nzValue]="userInfo.recentlyLandedDate?userInfo.recentlyLandedDate:''"
nzTitle="上次登录"></nz-statistic>
</nz-col> </nz-col>
</nz-row> </nz-row>
</nz-card> </nz-card>

View File

@@ -48,7 +48,7 @@ export class ArticleComponent implements OnInit {
error: (err) => null, error: (err) => null,
next: data => { next: data => {
this.user = data.result; this.user = data.result;
this.avatarImgUrl = data.result.avatarImgUrl; if (data.result) this.avatarImgUrl = data.result.avatarImgUrl;
} }
}); });
this.comment = new CommentReq(true); this.comment = new CommentReq(true);