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