NEZ-2900 fix:批量修改资产页面,查询条件下拉内容建议和输入框对齐
This commit is contained in:
@@ -13,7 +13,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; // 避免ele原字体加载
|
||||
}
|
||||
body {
|
||||
height: 100%;
|
||||
min-width: 1024px;
|
||||
min-width: 1400px;
|
||||
margin:0 !important;
|
||||
padding: 0 !important;
|
||||
cursor: default;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
:search-msg="searchMsg"
|
||||
:show-history="false"
|
||||
:show-search="false"
|
||||
:isNzTransfet="true"
|
||||
style="width:100%"
|
||||
@search="search"
|
||||
></search-input>
|
||||
|
||||
@@ -501,6 +501,7 @@ export default {
|
||||
defaultItem: {},
|
||||
defaultValue: {},
|
||||
inTransform: {},
|
||||
isNzTransfet: {},
|
||||
position: {
|
||||
type: String,
|
||||
default: ''
|
||||
@@ -1544,6 +1545,12 @@ export default {
|
||||
const inputListDom = this.$refs['input-center-box']
|
||||
if (inputListDom) {
|
||||
this.$nextTick(() => {
|
||||
if (this.isNzTransfet) {
|
||||
const position = inputListDom.getBoundingClientRect()
|
||||
this.selectDom.top = position.top + 36 + 'px'
|
||||
this.selectDom.left = position.left + 'px'
|
||||
return
|
||||
}
|
||||
if (this.inTransform) {
|
||||
const position = inputListDom.getBoundingClientRect()
|
||||
this.selectDom.top = position.top + 36 + 'px'
|
||||
|
||||
Reference in New Issue
Block a user