No 'Access-Control-Allow-Origin' header is present on the requested resource

前端 未结 2 1649
陌清茗
陌清茗 2021-01-22 16:18
    
        
            
                
                

        
2条回答
  •  悲哀的现实
    2021-01-22 17:23

    you are missing semicolon on line:

    request.setRequestHeader("Access-Control-Allow-Origin: ", "*")

提交回复
热议问题