31 lines
623 B
TypeScript
31 lines
623 B
TypeScript
import { Component, Inject, OnInit } from '@angular/core';
|
|
import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth';
|
|
|
|
@Component({
|
|
selector: 'layout-passport',
|
|
templateUrl: './passport.component.html',
|
|
styleUrls: ['./passport.component.less']
|
|
})
|
|
export class LayoutPassportComponent implements OnInit {
|
|
links = [
|
|
{
|
|
title: '帮助',
|
|
href: ''
|
|
},
|
|
{
|
|
title: '隐私',
|
|
href: ''
|
|
},
|
|
{
|
|
title: '条款',
|
|
href: ''
|
|
}
|
|
];
|
|
|
|
constructor(@Inject(DA_SERVICE_TOKEN) private tokenService: ITokenService) {}
|
|
|
|
ngOnInit(): void {
|
|
this.tokenService.clear();
|
|
}
|
|
}
|