Fork me on GitHub

fetch('https://wwww.baidu.com', {headers: { "Access-Control-Allow-Origin": "*", 'Access-Control-Allow-Methods': 'GET, POST, PATCH, PUT, DELETE, OPTIONS', 'Access-Control-Allow-Headers': 'Origin, Content-Type, X-Auth-Token'}})

 

posted on 2019-03-25 11:57  huashiyiqike  阅读(851)  评论(0编辑  收藏  举报