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…