更新自动按涨跌排序
parent
3caad617de
commit
da9b62fa75
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "io.yutent.gaystat",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"description": "搞基数据",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -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)
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue