部门详情

This commit is contained in:
liweijin
2018-11-29 18:08:54 +08:00
parent a1ffdb02c8
commit d5c42bebba
17 changed files with 306 additions and 57 deletions
@@ -0,0 +1,13 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({name: 'null'})
export class NoValue implements PipeTransform {
transform(value: any, exponent: any): any {
console.log(value)
if(value){
return value
}else{
return '无'
}
}