|
@@ -250,6 +250,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.spinning = false
|
|
|
+ this.setTableH()
|
|
|
return data
|
|
|
})
|
|
|
},
|
|
@@ -404,9 +405,7 @@ export default {
|
|
|
},
|
|
|
setTableH () {
|
|
|
this.$nextTick(() => {
|
|
|
- const searchBoxH = this.$refs.searchBox.offsetHeight
|
|
|
- const searchBoxH1 = this.$refs.searchBox1.offsetHeight
|
|
|
- this.tableHeight = window.innerHeight - (this.curTab == 1 ? searchBoxH : searchBoxH1) - 215
|
|
|
+ this.tableHeight = window.innerHeight - (this.curTab == 1 ? this.$refs.searchBox.offsetHeight : this.$refs.searchBox1.offsetHeight) - 255
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -425,7 +424,6 @@ export default {
|
|
|
} else {
|
|
|
this.$nextTick(() => {
|
|
|
this.curTab = 1
|
|
|
- this.setTableH()
|
|
|
})
|
|
|
}
|
|
|
}
|