Fix actions in SFC_VUE template

This commit is contained in:
hypnos 2017-09-23 01:37:16 +03:00
parent 29842474cb
commit c77777da31
2 changed files with 4 additions and 2 deletions

View File

@ -7,9 +7,10 @@
<script>
export default {
name: 'my-button',
methods: {
onClick () {
this.$emit('click');
}
}
}

View File

@ -7,9 +7,10 @@
<script>
export default {
name: 'my-button',
methods: {
onClick () {
this.$emit('click');
}
}
}