From c953fbf3198d2bd00599895fc5706fe01c86fd00 Mon Sep 17 00:00:00 2001 From: les Date: Tue, 2 Jun 2020 21:42:11 +0200 Subject: [PATCH] avoid using obj as key --- components/Search.vue | 2 +- pages/add/_edit.vue | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/components/Search.vue b/components/Search.vue index 1247bf54..32b812ae 100644 --- a/components/Search.vue +++ b/components/Search.vue @@ -23,7 +23,7 @@ el-button.mr-1.bg-dark(type='text' round plain v-for='t in filters.tags' size='mini' :key='t' @click='removeTag(t)') {{t}} el-button.mr-1.bg-dark.text-warning(type='text' round plain v-for='p in selectedPlaces' size='mini' - :key='p' @click='removePlace(p.id)') {{p.name}} + :key='p.id' @click='removePlace(p.id)') {{p.name}}