From ee446dd4a9884d75ea24a29247ab564095e2ab80 Mon Sep 17 00:00:00 2001 From: YuanHuakk <1751826683@qq.com> Date: Tue, 26 Mar 2024 17:10:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(custom):=20=E6=96=B0=E5=A2=9E=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E5=A4=A7=E5=8E=85=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index db49688..f35f344 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -42,7 +42,7 @@ const getList = async () => { url: `${process.env.TARO_APP_HOME}`, method: 'POST', success: ({ data: res }) => { - list.value = res.data.data || [] + list.value = res.data.data.sort((a: any, b: any) => b.sort - a.sort) || [] }, }) }