From b90c3596709216d1c3f4670fa9e5bc76d6027cbf Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Wed, 26 Aug 2020 16:24:57 +0200 Subject: [PATCH] Reverse the list return by zy.list, to get video list from new to old --- src/components/Film.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index ac3dc66..cc6fdb4 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -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)