📅  最后修改于: 2022-03-11 14:45:32.300000             🧑  作者: Mango
fetch('url',{
method:'POST'
})
.then((response)=>{
if(response.redirected){
window.location.href = response.url;
}
})
.catch(function(e){
})