element-ui里el-progress:进度条问题的解决Invalid prop: custom validator check failed for prop “percentage

element-ui里el-progress:进度条问题的解决Invalid prop: custom validator check failed for prop “percentage_第1张图片

element-ui里el-progress:进度条问题的解决Invalid prop: custom validator check failed for prop “percentage_第2张图片 

原因:Progress 数值大于100报错处理 

 

 重点这句,绑定值不能大于100 (100 ? 100 : parseInt(value)")

:percentage="TargetReportObj.sksRatio>100?100:parseFloat(TargetReportObj.sksRatio)" 

你可能感兴趣的:(element相关,前端,javascript,vue.js)