问答详情
源自:3-2 电子书解析和渲染

关于this.book

 showEpub () {

      // 生成Book

      this.book = new Epub(DOWNLOAD_URL)

      // 生成Rendition,通过Book.renderTo

      // this.book.renderTo('read')

      console.log(this)

      console.log(this.book)

    }

老师,这个this.book我理解的是book是data,但是在data里面并没有定义book,为什么可以直接this.book这样使用呢


提问者:小小白001 2020-04-12 23:52

个回答