webapi 雀舌 2021-11-15 92 阅读1分钟 `Element.getBoundingClientRect()` 方法返回元素的大小及其相对于视口的位置。 document.querySelector("#idName").scrollIntoView(); 滚动到指定dom位置 js下载文件 fetch(`${url}?t=${new Date().getTime()}`).then().then()