fetchRequest
fetch请求
使用示例
import { fetchRequest } from trust-util;
fetchRequest('http:api.abcd.com',{
method:'GET',
headers:{},
credentials:true,
body:{},
mode:'cors',
redirect:'follow',
cache:'default'
})、
fetch请求
import { fetchRequest } from trust-util;
fetchRequest('http:api.abcd.com',{
method:'GET',
headers:{},
credentials:true,
body:{},
mode:'cors',
redirect:'follow',
cache:'default'
})、