We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
描述问题 在使用 Input 组件的 onFocus 或 onBlur 回调函数时,尝试通过参数 e 获取 Input 的 value 值(即 e.target.value)时,遇到了类型错误:类型“EventTarget”上不存在属性“value”。
复现步骤 步骤:
期望结果 无TS类型错误
实际结果 TS报错:类型“EventTarget”上不存在属性“value”
环境信息
截图(可选)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
描述问题
在使用 Input 组件的 onFocus 或 onBlur 回调函数时,尝试通过参数 e 获取 Input 的 value 值(即 e.target.value)时,遇到了类型错误:类型“EventTarget”上不存在属性“value”。
复现步骤
步骤:
期望结果
无TS类型错误
实际结果
TS报错:类型“EventTarget”上不存在属性“value”
环境信息
截图(可选)
The text was updated successfully, but these errors were encountered: