[bug report] if you spell a string in the on change event of El upload control, this.onchange is not a function will be reported when the event is triggered
Open
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.6.2
### OS/Browsers version
win10/chrome版本 95.0.4638.69(正式版本) (64 位)
### Vue version
2.6.10
### Reproduction Link
https://codepen.io/hrbeta/pen/gOxJXvP
### Steps to reproduce
点击上传文件,随便选择一张图片,确认,然后控制台报错。TypeError: this.onChange is not a function
### What is Expected?
应该能够根据方法名称,找到方法,进入方法。
### What is actually happening?
实际上以字符串的形式拼写onchange方法,就找不到方法了
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.