Unexpected token u in JSON at position 0

Unexpected token u in JSON at position 0

The error report is shown in the figure

The reason is that JSON. Parse resolves undefined

solve

Find the place of JSON. Parse and add a judgment


Read More: