• 生成随机字符串

    Parameters

    • length: number

      输出长度

    • Optionalsrc: string

      使用的字符列表(默认使用数字和小写字母)

    Returns string

    随机字串