diff --git a/src/app/services/global-user.service.ts b/src/app/services/global-user.service.ts index d6c3758..f018438 100644 --- a/src/app/services/global-user.service.ts +++ b/src/app/services/global-user.service.ts @@ -115,7 +115,7 @@ export class GlobalUserService { } this.localStorageService.removeToken(); this.userObserverArray.forEach(ob => ob.next(new Response(null))); - this.userObserverArray.forEach(ob => ob.error(err)); + this.userObserverArray.forEach(ob => ob.error && ob.error(err)); } }); } diff --git a/src/app/view/admin/admin-dashboard/admin-dashboard.component.html b/src/app/view/admin/admin-dashboard/admin-dashboard.component.html index 90fd9d9..0eadbc5 100644 --- a/src/app/view/admin/admin-dashboard/admin-dashboard.component.html +++ b/src/app/view/admin/admin-dashboard/admin-dashboard.component.html @@ -1,6 +1,6 @@
- + @@ -16,7 +16,7 @@ - + @@ -31,8 +31,8 @@
-
- +
+ @@ -44,11 +44,11 @@
- + - +

此博客由 禾几海(郑海) 设计并实现的

博客自2019年3月开始开发编写 5月开始正式运行至今

博客所有代码都是开源的,你可以随意修改,运行和发布

@@ -59,7 +59,7 @@

如果觉得博客还不错,请前往Github支持我,给我点一个star吧

- +

坚强的信心,能使平凡的人做出惊人的事业。

——马尔顿

diff --git a/src/app/view/admin/admin-dashboard/admin-dashboard.component.less b/src/app/view/admin/admin-dashboard/admin-dashboard.component.less index e69de29..584827f 100644 --- a/src/app/view/admin/admin-dashboard/admin-dashboard.component.less +++ b/src/app/view/admin/admin-dashboard/admin-dashboard.component.less @@ -0,0 +1,3 @@ +nz-card { + margin-bottom: 30px +}