diff --git a/vue-cli-01-a-new-vue-project/src/components/FriendContact.vue b/vue-cli-01-a-new-vue-project/src/components/FriendContact.vue index 48ae26c..bd512f1 100644 --- a/vue-cli-01-a-new-vue-project/src/components/FriendContact.vue +++ b/vue-cli-01-a-new-vue-project/src/components/FriendContact.vue @@ -36,6 +36,7 @@ export default { default: false, }, }, + emits: ["toggle-favorite"], data() { return { detailsAreVisible: false,