项目初始化
This commit is contained in:
		@ -0,0 +1,15 @@
 | 
			
		||||
import { Component } from '@angular/core';
 | 
			
		||||
import { ActivatedRoute } from '@angular/router';
 | 
			
		||||
import { NzMessageService } from 'ng-zorro-antd/message';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
  selector: 'passport-register-result',
 | 
			
		||||
  templateUrl: './register-result.component.html'
 | 
			
		||||
})
 | 
			
		||||
export class UserRegisterResultComponent {
 | 
			
		||||
  params = { email: '' };
 | 
			
		||||
  email = '';
 | 
			
		||||
  constructor(route: ActivatedRoute, public msg: NzMessageService) {
 | 
			
		||||
    this.params.email = this.email = route.snapshot.queryParams.email || 'ng-alain@example.com';
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user