js中 fetch请求,以及随机数
fetch
var url='https:----------;
var opt={
method:"GET",
credentials: 'include'
};
fetch(url,opt).then(response => response.json())
.then(data => {})
random:
random_time=(Math.random()*(0.5-1.3) + 1.3).toFixed(2);

浙公网安备 33010602011771号