From 05003c99127455d0dae1e127f0e5a958c5586772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 6 Jun 2024 17:15:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20input-data=E7=9A=84clear=E6=94=B9?= =?UTF-8?q?=E7=94=A8touchstart=E3=80=81mousedown=E8=A7=A6=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/input-data/input-data.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/components/input-data/input-data.vue b/components/input-data/input-data.vue index 627c7b20..7da6463e 100644 --- a/components/input-data/input-data.vue +++ b/components/input-data/input-data.vue @@ -50,9 +50,7 @@ this.$emit('confirm', this.getValue(this.inputClearValue)) }, blur() { - setTimeout(() => { - this.showClearIcon = false - }, 100) + this.showClearIcon = false }, focus() { let inputValue = this.inputClearValue @@ -86,7 +84,12 @@ - + + + + + + -- GitLab