<a nz-tooltip nzTitle={{item.description}} class="listTitle listTitles" (click)="routerChange('serviceListDetail',item)">{{item.name}} </a> // 点击路由跳转 routerChange(path, item) { if (path == 'serviceListDetail') { this.router.navigateByUrl('/pages/serviceList/' + path); } //获取服务详情 /resource/service/detail //传参 service_id: version: //item.id item.latest_version const storage = window.sessionStorage; storage.setItem('session', JSON.stringify(item)); } ----------------------------------------------------------------------------------------------- window.open("https://casserver.com:8443/cas/logout? service=http://10.10.111.22:8080",'_self').location;