基础数据查询二次优化修改
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
|
||||
@Pipe({
|
||||
name: 'gateStatus'
|
||||
})
|
||||
export class GateStatusPipe implements PipeTransform {
|
||||
|
||||
transform(value: any, args?: any): any {
|
||||
if(value){
|
||||
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user