search

Home  >  Q&A  >  body text

javascript - vue data parsing

Is there a good way to open the data directly, or else I have to click on it one by one

I can display it normally using jq

typechotypecho2749 days ago705

reply all(1)I'll reply

  • 代言

    代言2017-06-28 09:30:34

    There is this magical operation!

    1. Open chrome devtool (assuming there is data in the picture)

    1. Set it as a floating window

    1. Press the shortcut key ctrl + shift + I in the floating devtool, and the devtool of devtool will appear

    1. Enter the script in the new devtool:

    $$('.console-view-object-properties-section').forEach(e => e._section._objectTreeElement.expandRecursively())

    1. You can see the data being expanded in the first devtool

    There is also this kind of operation! Isn’t it

    reply
    0
  • Cancelreply