NEZ-2642 fix: 搜索下拉框样式有误

This commit is contained in:
likexuan
2023-03-07 15:20:17 +08:00
parent 21630e6a92
commit c82846d7d2
2 changed files with 4 additions and 4 deletions

View File

@@ -310,7 +310,7 @@
width: auto;
max-width: 400px;
max-height: 240px;
min-width: 300px;
min-width: 260px;
background: $--background-color-empty;
border-radius: 3px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);

View File

@@ -961,7 +961,7 @@ export default {
objectInfo.type = val.valnum
} else if (val.label === 'assetState') {
objectInfo.stateIds = val.valnum
}else if (val.label === 'terminalStatus') {
} else if (val.label === 'terminalStatus') {
objectInfo.state = val.valnum
} else if (val.label === 'assetType') {
objectInfo.typeIds = val.valnum
@@ -1544,11 +1544,11 @@ export default {
if (this.inTransform) {
const position = inputListDom.getBoundingClientRect()
this.selectDom.top = position.top + 36 + 'px'
this.selectDom.left = position.left + 'px'
this.selectDom.left = position.left - 31 + 'px'
} else {
const position = inputListDom.getBoundingClientRect()
this.selectDom.top = position.top + 36 + 'px'
this.selectDom.left = position.left + 'px'
this.selectDom.left = position.left - 31 + 'px'
}
})
}