<el-table-column align="center"prop="submitState"label="报送状态" > <template slot-scope="scope"> <div :style="scope.row.submitState=== '已上报'?'color:#01b79d;':'color:#ec5656;'">{{scope.row.submitState}}</div> </template> </el-table-column>
vue通过判断动态显示样式
免责声明:文章转载自《vue通过判断动态显示样式》仅用于学习参考。如对内容有疑问,请及时联系本站处理。
上篇你需要PCIE×4硬盘MathJax: Web 页面显示数学公式下篇
宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=