修复更新bug

master
宇天 2020-07-27 10:14:38 +08:00
parent a7012bc48d
commit ab42086f1f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "io.yutent.gaystat", "name": "io.yutent.gaystat",
"version": "1.1.0", "version": "1.1.2",
"description": "搞基数据", "description": "搞基数据",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -131,7 +131,7 @@ Anot({
updateGay(item) { updateGay(item) {
var info = this.getTodayStat(item.code) var info = this.getTodayStat(item.code)
if (info.dwjz !== item.yesterday) { if (info.dwjz !== item.yesterday) {
item.last = this.getLastWeek(id) item.last = this.getLastWeek(item.code)
} }
item.curr = info.gsz item.curr = info.gsz
item.percent = +info.gszzl item.percent = +info.gszzl