移除log

pull/392/head
lyswhut 2020-12-04 21:34:11 +08:00
parent 30e43170f8
commit a6989a2aba
2 changed files with 2 additions and 2 deletions

View File

@ -810,7 +810,7 @@ export default {
this.loadingTimeout = null this.loadingTimeout = null
}, },
startBuffering() { startBuffering() {
console.error('start t') console.log('start t')
if (this.mediaBuffer.timeout) return if (this.mediaBuffer.timeout) return
this.mediaBuffer.timeout = setTimeout(() => { this.mediaBuffer.timeout = setTimeout(() => {
this.mediaBuffer.timeout = null this.mediaBuffer.timeout = null

View File

@ -31,7 +31,7 @@ export default {
}, },
}) })
const { body, statusCode } = await _requestObj.promise const { body, statusCode } = await _requestObj.promise
console.log(body) // console.log(body)
if (statusCode != 200 || body.returnCode !== '000000') throw new Error('获取评论失败') if (statusCode != 200 || body.returnCode !== '000000') throw new Error('获取评论失败')
return { source: 'mg', comments: this.filterComment(body.data.items), total: body.data.itemTotal, page, limit, maxPage: Math.ceil(body.data.itemTotal / limit) || 1 } return { source: 'mg', comments: this.filterComment(body.data.items), total: body.data.itemTotal, page, limit, maxPage: Math.ceil(body.data.itemTotal / limit) || 1 }
}, },