<el-tag :type="item.payCode=='在线' ? 'success' : 'danger'" >{{item.payCode}}</el-tag>
el-tag label change in the expression of the ternary type Type
Guess you like
Origin www.cnblogs.com/szqtiger/p/12060002.html
Recommended
Ranking