mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +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:
@@ -108,7 +108,7 @@ export default defineComponent({
|
||||
})
|
||||
|
||||
//methods
|
||||
const handleClick = evt => {
|
||||
const handleClick = (evt: MouseEvent) => {
|
||||
emit('click', evt)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user