由于在写md的时候截图是用的微博的图床,上传到github才发现不让在其他网站使用,所有本文只有一张图片. 刚才进行网站测试的时候,微博秀这个插件不能显示出来,一直是空白, 然后我把本地域名改成了127.0.0.1,显示出来了. 可是部署到github以后还是显示空白,我以为是网络问题, 但是检查了一下才发现报错了. Mixed Content: The page at 'https://www.taobao.com/' was loaded over HTTPS, but requested
downLoadFile (url, name) { this.xhr = new XMLHttpRequest() this.xhr.open('GET', url, true) this.xhr.responseType = 'blob' var vmThis = this this.xhr.onload = () => { ) { ) { let file = this.xhr.response let fileName = name if ('msSaveOrOpenBlob' in n