Vue: Fix typo in template Button

This commit is contained in:
Michael Shilman 2022-09-13 15:13:47 +08:00
parent 3dbf5f6900
commit 60f1aa50ea

View File

@ -1,5 +1,5 @@
<template>
<button type="button" :class="classes" @click="onClick" :style="style">{{ label }}</button>
<button type="button" :class="classes" @click="onClick" :style="style">{{ children }}</button>
</template>
<script>
@ -9,7 +9,7 @@ export default {
name: 'my-button',
props: {
label: {
children: {
type: String,
required: true,
},