(url: string, config?: FullRequestConfig)
| 388 | |
| 389 | // Download file |
| 390 | public download(url: string, config?: FullRequestConfig): Promise<Blob> { |
| 391 | return this.request<Blob>({ |
| 392 | ...config, |
| 393 | method: 'GET', |
| 394 | url, |
| 395 | responseType: 'blob', |
| 396 | }) |
| 397 | } |
| 398 | |
| 399 | public loadRemoteScript(url: string, id?: string, cb?: any): Promise<HTMLElement> { |
| 400 | if (!url) { |