提交 62ca01a3 编写于 作者: changdi.hao's avatar changdi.hao

Merge branch 'dev-consultation-0506-all' into 'release'

修改table的高度

See merge request com.pica.cloud.education.frontend/pica-admin-consultation!7
...@@ -390,7 +390,10 @@ export default { ...@@ -390,7 +390,10 @@ export default {
setTimeout(() => { setTimeout(() => {
this.$nextTick(() => { this.$nextTick(() => {
if (document.getElementsByClassName('from-box') && document.getElementsByClassName('from-box')[0].clientHeight) { if (document.getElementsByClassName('from-box') && document.getElementsByClassName('from-box')[0].clientHeight) {
this.tableHeight = window.innerHeight-50-140-10-160-document.getElementsByClassName('from-box')[0].clientHeight let height = window.innerHeight-50-140-10-160-document.getElementsByClassName('from-box')[0].clientHeight
if(height > 300) {
this.tableHeight = height
}
} }
}) })
},20) },20)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册