获取不到currentLocation
function updateLocation(){ let currentLocation = this.book.rendition.currentLocation() console.log(currentLocation) } this.rendition.display().then(() => { updatteLocation() // 输出 {} })
function updateLocation(){ let currentLocation = this.book.rendition.currentLocation() console.log(currentLocation) } this.rendition.display().then(() => { updatteLocation() // 输出 {} })
2020-06-03
举报