import { PipeTransform } from '@angular/core'; /** * 迭代n次,返回迭代结果数组。数组项为当前的索引。 * * @example * *
{{index + 1}}