更新时间:2023-12-03 17:01:46
Please concat yout path like this way.
<a routerLink="{{item.id}}/item/new/{{item.name}}">
<mat-icon class="add_box">add</mat-icon>
</a>
with app.routing.module.ts path like this
{
path: 'home/:id/item/new/:data', component:LoginComponent
},
try this it should work.