NEZ-2887 fix:修复search input 查询条件显示有遮挡

This commit is contained in:
zyh
2023-06-20 11:31:39 +08:00
parent 2cee77db39
commit 0116f915b4
4 changed files with 20 additions and 7 deletions

View File

@@ -345,3 +345,7 @@
li {
list-style: none;
}
.input-center-box .el-scrollbar__wrap{
margin-right: 0 !important;
}

View File

@@ -419,7 +419,9 @@ export default {
select_list: {
// 监听下拉列表
handler (newData, oldData) {
this.$refs.searchScrollbar.update()
this.$nextTick(() => {
this.$refs.searchScrollbar.update()
})
if (newData.length == 0) {
this.change_sreach_show = true
this.clearSearchShow = false
@@ -593,9 +595,9 @@ export default {
setTimeout(function () {
_this.getHeight()
})
/* this.$nextTick(() => {
this.$refs.searchScrollbar.update();
}); */
this.$nextTick(() => {
this.$refs.searchScrollbar.update()
})
},
// 一层下拉点击
tr_selectTypeInfo (val) {
@@ -1065,6 +1067,10 @@ export default {
this.input_list = true
this.restructure_historyDate()
this.$nextTick(() => {
this.$refs.searchScrollbar.update()
})
this.$emit('search', objectInfo)
},
// 清空历史记录
@@ -1290,9 +1296,6 @@ export default {
JSON.parse(JSON.stringify(this.searchMsg.searchLabelList)).forEach(val => {
this.searchLabelList.push(val)
})
this.$nextTick(() => {
this.$refs.searchScrollbar.update()
})
this.select()
},
// 修改已有参数

View File

@@ -392,6 +392,9 @@ export default {
await this.clearTask()
}
next()
},
beforeDestroy () {
this.clearTask()
}
}
</script>

View File

@@ -383,6 +383,9 @@ export default {
await this.clearTask()
}
next()
},
beforeDestroy () {
this.clearTask()
}
}
</script>