Skip to content

Commit

Permalink
更新: 修复脚本提前 $done 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
id77 committed Dec 10, 2020
1 parent cc52ec3 commit 4ee7e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bilibili/bilibili.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ function sign() {
chavy.msg(title, subTitle, detail)
}
chavy.log(`${cookieName}, data: ${data}`)
chavy.done()
})

chavy.done()
}
function getsigninfo() {
let url = {
Expand All @@ -61,6 +60,7 @@ function getsigninfo() {
let result = JSON.parse(data)
if (result && result.code == 0) detail = `本月累计: ${result.data.hadSignDays}/${result.data.allDays}次, 说明: ${result.data.text}`
chavy.msg(title, subTitle, detail)
chavy.done()
})
}
function init() {
Expand Down

0 comments on commit 4ee7e8d

Please sign in to comment.