改變原寫法

来源:3-12 目录功能实现

齊帥

2021-11-25 17:54

老師請問這樣寫是可以的嗎? 


this.book.ready.then(async() => {

        await this.book.locations.generate();

        this.locations=this.book.locations

        this.bookAvailable=true

      })


写回答 关注

0回答

还没有人回答问题,可以看看其他问题

快速入门Web阅读器开发

带你了解电子书阅读器的工作原理,通过Vue.js快速实现Web阅读器

26238 学习 · 214 问题

查看课程

相似问题