-
-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
pending triageissue: pending triageissue: pending triage
Description
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
- Follow our Code of Conduct.
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueHooks Plus issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
pending triageissue: pending triageissue: pending triage