23 lines
796 B
TypeScript
23 lines
796 B
TypeScript
/*
|
|
* @Author: your name
|
|
* @Date: 2021-12-01 09:25:32
|
|
* @LastEditTime: 2021-12-01 09:49:32
|
|
* @LastEditors: your name
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.ts
|
|
*/
|
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
|
import { ActivatedRoute } from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'app-supply-goods-components-list',
|
|
templateUrl: './list.component.html',
|
|
})
|
|
export class SupplyGoodsComponentListComponent implements OnInit {
|
|
constructor(private ar: ActivatedRoute) {}
|
|
nzSelectedIndex = 0;
|
|
ngOnInit(): void {
|
|
this.nzSelectedIndex = this.ar.snapshot.queryParams.nzSelectedIndex;
|
|
}
|
|
}
|