进度
2016-02-24 17:12:27 0 举报
定义进度数据对象progressArray
作者其他创作
大纲/内容
计算isPass为true所占比例
将isUpdate设置为false
定义进度数据对象progressArray
sumrate方法
handleID
查找对应progressObject的isAction是否全部为true
退出
progressStr :array数组转换的json
setProgress方法
setHandle方法
array更新为progressStr
isUpdate
true
isUpdate == true
遍历其中isPass属性有无true
查找进度数组progress
程序错误
对应progressObject下isPass修改为true
isPass == true
得出进度rate
程序错误或用户无操作
sumProgressStr方法
有
不存在
存在
修改相应问题
progressID
无
用户无操作
0 条评论
下一页
为你推荐
查看更多