From fbcd40f2a6b433861ac2adec6a35302c942eee5e Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 27 Oct 2022 18:05:28 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/apply.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index 149a45e9..688ed0ed 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -88,9 +88,9 @@ v-else placeholder="请选择归属部门" v-model:value="formName.unit" - :getPopupContainer="(triggerNode) => triggerNode.parentNode" - show-search - :filterOption="true" + :getPopupContainer="(triggerNode) => triggerNode.parentNode" + show-search + :filterOption="true" @change="deptIdChangeFunction" > -
+
{ console.log('blur') } + const arrId = [] const handleFocus = () => { - console.log('focus') - let arrId = [] - for (var valueIndex of systemOptions2.value) { + console.log('focus', systemOptions2.value, systemOptions.value) + for (let valueIndex of systemOptions2.value) { if (arrId.indexOf(valueIndex['value']) == -1) { arrId.push(valueIndex['value']) systemOptions.value.push(valueIndex)