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 d8f44cd..48ae26c 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 @@ -50,13 +50,7 @@ export default { } }, isFavoriteText() { - if (this.isFavo>{{ name }} {{ isFavoriteText }} - - - rite) { + if (this.isFavorite) { return "(Favorite)"; } else { return "";