This commit is contained in:
lxk0301
2020-12-02 14:37:42 +08:00
parent 76a03cc5d0
commit 7556bd7761

View File

@@ -476,7 +476,7 @@ function qqreadtime() {
$.get(toqqreadtimeurl, (error, response, data) => {
if (logs) $.log(`${jsname}, 阅读时长: ${data}`)
let time = JSON.parse(data)
if (time.code == 0) tz += '【阅读时长】:上传' + TIME / 6 + '分钟\n'
if (time && time.code == 0) tz += '【阅读时长】:上传' + TIME / 6 + '分钟\n'
resolve()
})
})