完善文章管理页面

This commit is contained in:
小海
2020-04-29 14:09:02 +08:00
parent 62e538ac3c
commit 76a9f590b8
4 changed files with 76 additions and 10 deletions

View File

@@ -12,7 +12,9 @@ export class AuthGuard implements CanActivate {
constructor(private userService: UserService) {
userService.watchUserInfo({
complete: () => null,
error: (err) => null,
error: (err) => {
// 未登录 重定向
},
next: data => {
this.userInfo = data.result
console.log(this.path);