@Component({ selector: 'app-root', template: `<router-outlet></router-outlet>` }) export class AppComponent implements OnInit { @HostBinding('class.layout-fixed') get isFixed() { return this.settings.layout.fixed; } @HostBinding('class.layout-boxed') get isBoxed() { return this.settings.layout.boxed; } @HostBinding('class.aside-collapsed') get isCollapsed() { return this.settings.layout.collapsed; } constructor( private settings: SettingsService, private router: Router, private titleSrv: TitleService) { }
测试奖励C币
最新推荐文章于 2022-10-18 11:30:27 发布