Skip to content

[Bug Report] el-input component handleInput error reporting #14013

@weixian5

Description

@weixian5

Element UI version

2.4.11

OS/Browsers version

mac

Vue version

2.5.21

Reproduction Link

https://github.com/ElemeFE/element/blob/dev/packages/input/src/input.vue

Steps to reproduce

handleInput 方法,里面使用了$refs.input
这个方法被input 和textarea 调用,textarea没有$refs.input 导致报错
缺少判断

What is Expected?

修复

What is actually happening?

修复

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions