fix(button): fix: add button click type's defination (#2026)

Co-authored-by: tujin_li <tujin.li@gshopper.com>
This commit is contained in:
mistery-li 2021-05-21 16:23:09 +08:00 committed by GitHub
parent 116f5294f7
commit 980152c997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ export default defineComponent({
})
//methods
const handleClick = evt => {
const handleClick = (evt: MouseEvent) => {
emit('click', evt)
}