• 格式化显示文件大小

    Parameters

    • fileSize: null | string

      文件大小值 单位kb

    Returns string

    格式化后的文件大小值

    Example

    import { file } from "@pointcloud/pcloud-utils"
    file.convertSize('1024') // 1MB;

Generated using TypeDoc