angular路由跳轉navigate

一、不帶參數javascript this.router.navigate(['/custom']); 二、帶參數跳轉java const params: any = this.validateForm.value; this.router.navigate(['/custom', params]); // custom模塊接收參數 // 第一種方式 this.router.snapshot.pa
相關文章
相關標籤/搜索