Merge pull request #4563 from taojianjian32/me1

固定高度的表格展开的时候重新计算表格高度,判断是否该出现滚动条
This commit is contained in:
Aresn 2018-09-27 11:50:14 +08:00 committed by GitHub
commit 03fb92895b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -529,6 +529,10 @@
const status = !data._isExpanded;
this.objData[_index]._isExpanded = status;
this.$emit('on-expand', JSON.parse(JSON.stringify(this.cloneData[_index])), status);
if(this.height){
this.$nextTick(()=>this.fixedBody());
}
},
selectAll (status) {
// this.rebuildData.forEach((data) => {