BUG修改

This commit is contained in:
a0049873 2022-10-27 18:05:28 +08:00
parent f837060104
commit fbcd40f2a6
1 changed files with 7 additions and 7 deletions

View File

@ -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"
>
<a-select-option
@ -103,7 +103,7 @@
</a-select>
</a-form-item>
</div>
<div class="base-info" v-if="flag">
<div class="base-info" v-show="flag">
<div style="margin-bottom: 24px">
<a-form-item
style="margin-bottom: 0"
@ -811,10 +811,10 @@
const handleBlur = () => {
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)