标签:ng-if pen 技术分享 style none lap mil display 技术
ng-if
<td ><div class="td-li" >
<a (click)="open(i)" class="mdc-button ori-text" *ngIf="i.status===‘待发货‘">
发货
</a>
<a (click)="open(i)" class="mdc-button ori-text" *ngIf="i.status===‘已完成‘">
</a>
<a (click)="open(i)" class="mdc-button ori-text" *ngIf="i.status===‘已发货‘">
修改
</a>
</div></td>
<a (click)="open(i)" class="mdc-button ori-text">
{{i.status === ‘已完成‘ ? ‘‘ : ‘发货‘}}
</a>
标签:ng-if pen 技术分享 style none lap mil display 技术
原文地址:https://www.cnblogs.com/zxyun/p/8855157.html