src/app/routes/exception/403.component.ts
New file @@ -0,0 +1,12 @@ import { Component } from '@angular/core'; import { NzModalService } from 'ng-zorro-antd'; @Component({ selector: 'exception-403', template: `<exception type="403" style="min-height: 500px; height: 80%;"></exception>`, }) export class Exception403Component { constructor(modalSrv: NzModalService) { modalSrv.closeAll(); } }