|
@@ -655,6 +655,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ // if (worksStudent[step] && worksStudent[step].length) {
|
|
|
+ // worksStudent[step] = worksStudent[step].sort(function(a, b) {
|
|
|
+ // const jscoreA = a.score ? JSON.parse(a.score).wScore : 0
|
|
|
+ // const jscoreB = b.score ? JSON.parse(b.score).wScore : 0
|
|
|
+ // var scoreA = parseFloat(jscoreA)
|
|
|
+ // var scoreB = parseFloat(jscoreB)
|
|
|
+ // if (scoreA === scoreB) {
|
|
|
+ // return b.likesCount - a.likesCount
|
|
|
+ // }
|
|
|
+ // return scoreB - scoreA
|
|
|
+ // })
|
|
|
+ // }
|
|
|
this.worksStudent = worksStudent
|
|
|
this.isCloseList = isCloseList
|
|
|
this.groupStudent = groupStudent
|