use axios to access the json file, and you can get the result returned by json, but why can"t you access the data object in the returned result
vue code:
. Omit other codes
console.log(res.ret);//undefined =>???
console.log(res.data);//undefined =>???
Why do I print out undefined
here? please give me some advice. Thank you