el-tag v-if=scoperowrefundStatus === 退款失败 type=danger title= scoperowverifyFailedCause 退款失败 i-ep-warning class=icon-gridel-tag 这个 title不能显示???
这个问题可能是因为插值表达式的写法有问题。应该将title属性的值用引号包裹起来,如下所示:
<el-tag v-if="scope.row.refundStatus === '退款失败'" type="danger" :title="scope.row.verifyFailedCause">退款失败 <i-ep-warning class="icon-grid"/></el-tag>
这样就能正确显示title属性的值了。
原文地址: https://www.cveoy.top/t/topic/iXHV 著作权归作者所有。请勿转载和采集!