fetch的GET请求
fetch(ApiConfig.url.getOpus + `?project_id=${projectId}`, { headers: { 'content-type': 'application/json', 'Authorization': `Bearer ${token}` }, method: 'GET', // *GET, POST, PUT, DELETE, etc. mode: 'cors', // no-cors, cors, *same-origin }) .then(response => response.json())
.then( .... )