From 91e8dd326b352fa7ca17949c8352d13a27af58d9 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 11 Oct 2022 13:32:24 -0700 Subject: [PATCH] Make emit typing safe --- src/components/EditDate.vue | 8 +++++--- src/components/FaceDeleteModal.vue | 9 ++++----- src/components/FaceEditModal.vue | 9 ++++----- src/components/FaceMergeModal.vue | 9 ++++----- src/components/Modal.vue | 7 +++++-- src/components/Tag.vue | 8 ++++---- 6 files changed, 26 insertions(+), 24 deletions(-) diff --git a/src/components/EditDate.vue b/src/components/EditDate.vue index d61763b7..5238ea1a 100644 --- a/src/components/EditDate.vue +++ b/src/components/EditDate.vue @@ -100,7 +100,7 @@ \ No newline at end of file diff --git a/src/components/FaceEditModal.vue b/src/components/FaceEditModal.vue index 93300fce..10d4cfb9 100644 --- a/src/components/FaceEditModal.vue +++ b/src/components/FaceEditModal.vue @@ -21,7 +21,7 @@ diff --git a/src/components/FaceMergeModal.vue b/src/components/FaceMergeModal.vue index 0f945b06..132d6f0b 100644 --- a/src/components/FaceMergeModal.vue +++ b/src/components/FaceMergeModal.vue @@ -26,7 +26,7 @@ diff --git a/src/components/Modal.vue b/src/components/Modal.vue index 85dc181f..2d147357 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -1,7 +1,7 @@ diff --git a/src/components/Tag.vue b/src/components/Tag.vue index 925dc098..a65a3fca 100644 --- a/src/components/Tag.vue +++ b/src/components/Tag.vue @@ -5,7 +5,7 @@ hasError: error, isFace: isFace, }" - @click="openTag()" + @click="openTag(data)" v-bind:style="{ width: rowHeight + 'px', height: rowHeight + 'px', @@ -32,7 +32,7 @@