From 2cd5b8f1433ac852e64916c2d2bca0161aa948a8 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 1 Jul 2024 18:27:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AF=BB=E5=86=99=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/read-write/index.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ui/src/components/read-write/index.vue b/ui/src/components/read-write/index.vue index e89ff6513..e4f478456 100644 --- a/ui/src/components/read-write/index.vue +++ b/ui/src/components/read-write/index.vue @@ -6,7 +6,12 @@ {{ data }} - + @@ -59,8 +64,8 @@ const props = defineProps({ }, trigger: { type: String, - default: '', - validator: (value: string) => ['dblclick'].includes(value) + default: 'default', + validator: (value: string) => ['default', 'dblclick'].includes(value) } }) const emit = defineEmits(['change'])