Merge pull request #4563 from taojianjian32/me1
固定高度的表格展开的时候重新计算表格高度,判断是否该出现滚动条
This commit is contained in:
commit
03fb92895b
1 changed files with 4 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue