We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7507f commit 73ad8dcCopy full SHA for 73ad8dc
src/components/ActionButton.vue
@@ -4,7 +4,7 @@
4
:disabled="isDisabled"
5
:loading="isLoading"
6
rounded
7
- @click="onClick"
+ @click="$emit('click')"
8
>
9
<span>{{ text }}</span>
10
</v-btn>
@@ -28,10 +28,6 @@ export default class ActionButton extends Vue {
28
29
@Prop({ default: false })
30
isLoading?: boolean
31
-
32
- onClick(): void {
33
- this.$emit('onClick')
34
- }
35
}
36
</script>
37
src/pages/account/login.vue
@@ -30,7 +30,7 @@
class="SignIn-Button"
text="ログイン"
theme="primary"
- @onClick="doLogin"
+ @click="doLogin"
/>
<v-btn
:disabled="loading"
0 commit comments