From 3ddcfe3e43b5e05b2080e1000632cdba1b878970 Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Thu, 17 Sep 2026 23:48:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=AE=AB=E6=A0=BC:=20?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=88=97=E8=A1=A8=E6=94=B9=E6=8C=89=20seq=20?= =?UTF-8?q?=E5=80=92=E5=BA=8F=EF=BC=88=E5=80=BC=E5=A4=A7=E9=9D=A0=E5=89=8D?= =?UTF-8?q?=EF=BC=8Cseq=20=E7=9B=B8=E5=90=8C=E6=8C=89=20no=20=E5=80=92?= =?UTF-8?q?=E5=BA=8F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 12f245f..14abf43 100644 --- a/js/app.js +++ b/js/app.js @@ -237,7 +237,7 @@ const items = (d && d.result && d.result.items) || []; const apps = items .filter(a => a.url && !/wx-h5-demo/i.test(a.url)) /* 排除授权示例 */ - .sort((x, y) => (x.seq || 0) - (y.seq || 0) || (x.no || 0) - (y.no || 0)); + .sort((x, y) => (y.seq || 0) - (x.seq || 0) || (y.no || 0) - (x.no || 0)); apps.forEach(a => { APP_BY_ID[a.identifier] = a; }); /* 供首页工具卡按 identifier 取 URL */ renderAppGrid(apps); })