fetch 使用及如何接收JS传值 使用fetch基本方式:fetch('https://mywebsite.com/endpoint/',{method:'POST',headers:{'Accept':'application/json','C js传值