Reverse the list return by zy.list, to get video list from new to old

This commit is contained in:
haiyangcui
2020-08-26 16:24:57 +02:00
parent 27eb8c06ff
commit b90c359670

View File

@@ -266,7 +266,8 @@ export default {
$state.complete()
}
if (type === '[object Array]') {
this.list.push(...res)
// zy.list 返回的是按时间从旧到新排列, 我门需要翻转为从新到旧
this.list.push(...res.reverse())
}
if (type === '[object Object]') {
this.list.push(res)