1.插槽
{{scope.row.guarantee == 1?"√":""}}
{{scope.row.guarantee == 1?"√":""}}
2 .三元运算
如果scope.row.guarantee == 1显示√,否则显示×
scope.row.guarantee == 1 ? "√" : "×"
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)