• 下载文件流

    Parameters

    • res: Blob

      文件流 Blob

    • name: string

      文件名称

    • Optional type: "excel" | "xls" | "xlsx" | "pdf" | "doc" | "docx" | "zip" | "rar" | "png" | "webp" | "bmp" | "jpeg" | "gif" | "tiff" | "svg" | "mp4"

      文件类型

    Returns void

    Example

    import { file } from "@pointcloud/pcloud-utils"
    file.downloadBlobFile(blob文件流, '文件名称', 'excel');

Generated using TypeDoc