Commit 96def781 authored by 沈翠玲's avatar 沈翠玲

进度条更新

parent 91c2163d
......@@ -1553,6 +1553,7 @@ export default {
},
computedPercentage () {
if (!this.feedingInspectionList || this.feedingInspectionList.length === 0) return 100
if (this.computedAttr3 === this.feedingInspectionList.length) return 100
let per = (this.computedAttr3 / this.feedingInspectionList.length) * 100
per = Math.round(per)
return per
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment