src/app/routes/devices/version/version.component.html
@@ -47,7 +47,7 @@ [ngStyle]="{'width':col.width,'text-align':col['align'] === undefined?'left':col.align}"> <span [ngSwitch]="col.type"> <!-- 要使用管道,无法自动生成 --> <span *ngSwitchDefault> {{ row[col.name]|tyepHandle:col }} </span> <span *ngSwitchDefault> {{ row[col.name]|tyepHandle:col:row}} </span> <!-- 要使用管道,无法自动生成 --> </span> </td>