feat: add emits option
This commit is contained in:
@@ -44,6 +44,8 @@ export default createComponent({
|
||||
},
|
||||
},
|
||||
|
||||
emits: ['click', 'touchstart'],
|
||||
|
||||
methods: {
|
||||
onClick() {
|
||||
if (!this.loading && !this.disabled) {
|
||||
|
||||
Reference in New Issue
Block a user