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); })