摘要:
同源,a标签downlaod属性浏览器基本都支持下载 非同源,提供两个下载方法 function downloadFile(url, filename) { fetch(url).then(response => { return response.blob(); }).then(blob => { 阅读全文
摘要:
idea idea安装组件 File->Settings->plugins marketplace搜索安装javascript and typescript插件 (如果marketplace搜素搜索不到,搜索下installed里是否已经安装过了;如果已经安装过了且勾选框是选中的,去勾选插件,保存。 阅读全文