Skip to content

useThrottleFn 入参会被改为数组 #286

@MaJiaXuan

Description

@MaJiaXuan

Describe the bug

useThrottleFn 入参会被改为数组

const handleXXX = useThrottleFn((e) => console.log(e)) // 此时的e是一个数组 [1],正常应该是 1

handleXXX(1)

版本 2.4.1

Steps to reproduce

useThrottleFn 入参会被改为数组

const handleXXX = useThrottleFn((e) => console.log(e)) // 此时的e是一个数组 [1],正常应该是 1

handleXXX(1)

System Info

谷歌浏览器最新版本

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions