Access to XMLHttpRequest at 'API_URL' from origin 'http://localhost:8080' 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.
当我运行我的本地主机系统来访问服务器 API 时。它将生成令牌而不是我收到类似上述错误的错误。请帮我。