From 877acddb6b8cb391d9ebcecb1e11b4516e5fcfc6 Mon Sep 17 00:00:00 2001 From: bob <312777916@qq.com> Date: Wed, 6 Nov 2024 17:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=BE=A4=E7=BB=84=E5=BB=BA?= =?UTF-8?q?=E7=BE=A4=E6=8C=89=E9=92=AE=E5=92=8C=E5=BC=B9=E5=87=BA=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/SelectDialog.vue | 5 + src/views/contacts/group/SubAll.vue | 127 ++++++++++++++++++++++++- 2 files changed, 129 insertions(+), 3 deletions(-) diff --git a/src/components/common/SelectDialog.vue b/src/components/common/SelectDialog.vue index 9841ade..021f4a5 100644 --- a/src/components/common/SelectDialog.vue +++ b/src/components/common/SelectDialog.vue @@ -65,6 +65,10 @@ const onConfirm = () => { emit('update:modelValue', false) } +const onOpen = () => { + searchKey.value = '' +} + const onClose = () => { emit('update:modelValue', false) selected.value = [] @@ -93,6 +97,7 @@ const onRemoveSelectedItem = (index) => { :width="'610px'" :z-index="1" style="border-radius: 10px" + @open="onOpen" @close="onClose" >