search

Home  >  Q&A  >  body text

javascript - Questions about requesting backend data printing

If the printed data is res.data.rows[0].bookImages, it is the original data.
But if res is printed, the printed bookImages data has been processed later.
What is the reason for this?
The res data did not change when I printed it. Is it just caused by console.log? Or is it due to asynchrony or an object reference problem?

PHP中文网PHP中文网2736 days ago730

reply all(1)I'll reply

  • 黄舟

    黄舟2017-05-19 10:18:50

    My suggestion is that you check this.pukr.parseImage method. The input in this method should be consistent with the data in console.log(res).

    reply
    0
  • Cancelreply