报错:
原因其实是list.json文件路径错误,该文件路径是相对于index.html的,而不是App.js或者index.js。
??:后续开发中发现fetch在ios10.1.2中存在问题,不建议使用哦。还是用axios吧~~~
转载于:https://www.cnblogs.com/LLLLily/p/7511453.html
报错:
原因其实是list.json文件路径错误,该文件路径是相对于index.html的,而不是App.js或者index.js。
??:后续开发中发现fetch在ios10.1.2中存在问题,不建议使用哦。还是用axios吧~~~
转载于:https://www.cnblogs.com/LLLLily/p/7511453.html