tycg_carviolation_FE/src/app/app.component.ts
2023-08-03 10:37:39 +08:00

18 lines
470 B
TypeScript

import { Component, OnInit } from "@angular/core";
import { HelperService } from "app/service/helper.service";
@Component({
// tslint:disable-next-line
selector: "body",
template: "<router-outlet></router-outlet>"
})
export class AppComponent implements OnInit {
constructor(private helperService: HelperService) {}
ngOnInit() {
this.helperService.setUserCodeData();
this.helperService.setRoleCodeData();
this.helperService.setGroupName();
}
}