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 v-else
placeholder="请选择归属部门" placeholder="请选择归属部门"
v-model:value="formName.unit" v-model:value="formName.unit"
:getPopupContainer="(triggerNode) => triggerNode.parentNode" :getPopupContainer="(triggerNode) => triggerNode.parentNode"
show-search show-search
:filterOption="true" :filterOption="true"
@change="deptIdChangeFunction" @change="deptIdChangeFunction"
> >
<a-select-option <a-select-option
@ -103,7 +103,7 @@
</a-select> </a-select>
</a-form-item> </a-form-item>
</div> </div>
<div class="base-info" v-if="flag"> <div class="base-info" v-show="flag">
<div style="margin-bottom: 24px"> <div style="margin-bottom: 24px">
<a-form-item <a-form-item
style="margin-bottom: 0" style="margin-bottom: 0"
@ -811,10 +811,10 @@
const handleBlur = () => { const handleBlur = () => {
console.log('blur') console.log('blur')
} }
const arrId = []
const handleFocus = () => { const handleFocus = () => {
console.log('focus') console.log('focus', systemOptions2.value, systemOptions.value)
let arrId = [] for (let valueIndex of systemOptions2.value) {
for (var valueIndex of systemOptions2.value) {
if (arrId.indexOf(valueIndex['value']) == -1) { if (arrId.indexOf(valueIndex['value']) == -1) {
arrId.push(valueIndex['value']) arrId.push(valueIndex['value'])
systemOptions.value.push(valueIndex) systemOptions.value.push(valueIndex)