js 代码:
<script>
console.log('im trying to fetch a c# logo')//
fetch('download.png')
.then(response => {
console.log(response)
return response.blob()
}).then(response =>{
console.log(response)
document.getElementById('C# logo'). src = URL.createObjectURL(blob)
})
</script>
错误信息: Uncaught (in promise) ReferenceError: blob is not defined 在 fetch.html:18