// 伪码 fetch('api',{ method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', }, body: {} }) 试试这样
试试这样