为什么每次运行时fetch都会返回相同的结果?

时间:2019-11-20 22:03:38

标签: javascript api fetch

为什么每次我运行它都将返回相同的结果。而且,仅当我手动转到https://tv-v2.api-fetch.website/random/movie并刷新页面时,结果才会更改?

fetch('https://tv-v2.api-fetch.website/random/movie')
   .then(res=>res.json())
   .then(r=>console.log(r))