项目初始化
This commit is contained in:
15
src/app/layout/pro/components/footer/footer.component.ts
Normal file
15
src/app/layout/pro/components/footer/footer.component.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { SettingsService } from '@delon/theme';
|
||||
|
||||
@Component({
|
||||
selector: 'layout-pro-footer',
|
||||
templateUrl: './footer.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class LayoutProFooterComponent {
|
||||
get year(): number {
|
||||
return this.setting.app.year;
|
||||
}
|
||||
|
||||
constructor(private setting: SettingsService) {}
|
||||
}
|
||||
Reference in New Issue
Block a user