Fixed #5932
parent
1845932fba
commit
2d75e51fce
|
@ -31,10 +31,10 @@ const showProducts = () => {
|
||||||
basic: `
|
basic: `
|
||||||
<script setup>
|
<script setup>
|
||||||
/* ProductListDemo.vue */
|
/* ProductListDemo.vue */
|
||||||
const emit = defineEmits(['onCancel', 'onSave'])
|
const emit = defineEmits(['cancel', 'save'])
|
||||||
|
|
||||||
function buttonClick() {
|
function buttonClick() {
|
||||||
emit('onCancel', {user: 'primetime'});
|
emit('cancel', {user: 'primetime'});
|
||||||
}
|
}
|
||||||
<\/script>
|
<\/script>
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue