mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
fix(button): fix: add button click type's defination (#2026)
Co-authored-by: tujin_li <tujin.li@gshopper.com>
This commit is contained in:
parent
116f5294f7
commit
980152c997
@ -108,7 +108,7 @@ export default defineComponent({
|
||||
})
|
||||
|
||||
//methods
|
||||
const handleClick = evt => {
|
||||
const handleClick = (evt: MouseEvent) => {
|
||||
emit('click', evt)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user