,整个后端就没创建get方法呀! 怎么就能出现页面呢?
感谢,编写get方法后解决了问题
我的一直报这个问题,后来想想后端根本就没写get方法
Access to XMLHttpRequest at '*' from origin '*' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
自己把get方法写完就不报错了但是界面好丑。不居中