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)