删除多个阿里云视频时突然弹出Network Error

F12打开浏览器调试控制台后,显示如下:

Access to XMLHttpRequest at 'http://localhost:9001/eduservice/course/getPublishCourseInfo/1396396483573555202' from origin 'http://localhost:9528' 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.
:9001/eduservice/course/getPublishCourseInfo/1396396483573555202:1 Failed to load resource: net::ERR_FAILED

经过仔细检查,仍未找到出错原因

前端页面没有发现问题,后端controller也已加上@CrossOrigin注解

现状是:数据可以添加至数据库,课程列表也能查询出添加的数据,只是课程状态为”未发布”

暂时先这样吧,此后若有解决方案再议。