forked from github/dataease
Merge pull request #4790 from dataease/pr@dev_memory_component
Pr@dev memory component
This commit is contained in:
commit
83eaffb5e3
@ -160,7 +160,8 @@ export default {
|
||||
selectDom.insertBefore(this.maxHeightDom, this.domList)
|
||||
},
|
||||
reCacularHeight() {
|
||||
this.maxHeightDom.style.height = this.newList.length * this.itemHeight + 'px'
|
||||
const h = this.$attrs.multiple ? 16 : 0
|
||||
this.maxHeightDom.style.height = this.newList.length * this.itemHeight + h + 'px'
|
||||
},
|
||||
resetList(arrays) {
|
||||
if (Array.isArray(arrays)) {
|
||||
|
Loading…
Reference in New Issue
Block a user