NEZ-2887 fix:修复search input 查询条件显示有遮挡
This commit is contained in:
@@ -345,3 +345,7 @@
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.input-center-box .el-scrollbar__wrap{
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
@@ -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()
|
||||
},
|
||||
// 修改已有参数
|
||||
|
||||
@@ -392,6 +392,9 @@ export default {
|
||||
await this.clearTask()
|
||||
}
|
||||
next()
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.clearTask()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -383,6 +383,9 @@ export default {
|
||||
await this.clearTask()
|
||||
}
|
||||
next()
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.clearTask()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user