react axios请求本地json404 今天做练习react axios请求本地json出错报404 发现json文件位置不对,需要放在public文件夹下 注意,请求地址端口后直接加json文件名,无需加public