// 在下面执行异步脚本 !(async function () { })()
很简单,用自带的Buffer转换一下就行 await axios.get('http://aaa.com/xxxx.jpg' + Date.parse(new Date()), { responseType: 'arraybuffer' }).then(res => {