From da9b62fa75d6ea893a86fd187172ec9634a81b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Mon, 27 Jul 2020 14:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=87=AA=E5=8A=A8=E6=8C=89?= =?UTF-8?q?=E6=B6=A8=E8=B7=8C=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/js/app.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2b5e0db..32ffd4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "io.yutent.gaystat", - "version": "1.2.0", + "version": "1.3.0", "description": "搞基数据", "main": "src/main.js", "scripts": { diff --git a/src/js/app.js b/src/js/app.js index 6fd9abc..b73230c 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -142,6 +142,10 @@ Anot({ item.curr = info.gsz item.percent = +info.gszzl + this.list.sort((a, b) => { + return b.percent - a.percent + }) + Anot.ls('watch_list', this.list.$model) },