Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -1188,6 +1188,7 @@ Page({ | @@ -1188,6 +1188,7 @@ Page({ | ||
| 1188 | return (item.useEtime >= this.data.dataStr) || (item.foreverText == '永久有效') || (condition.valid_forever === '0' && condition.stime && condition.etime) | 1188 | return (item.useEtime >= this.data.dataStr) || (item.foreverText == '永久有效') || (condition.valid_forever === '0' && condition.stime && condition.etime) |
| 1189 | }); | 1189 | }); |
| 1190 | } | 1190 | } |
| 1191 | + list.sort((a, b) => b.cdate - a.cdate); | ||
| 1191 | list = list.reduce((accumulator, current) => { | 1192 | list = list.reduce((accumulator, current) => { |
| 1192 | if (!accumulator.some(item => item.aid === current.aid)) { | 1193 | if (!accumulator.some(item => item.aid === current.aid)) { |
| 1193 | accumulator.push(current); | 1194 | accumulator.push(current); |
-
Please register or login to post a comment