Skip to content

Commit

Permalink
fix: 同步fixed 层高度的 rowHeight 对象 在初始化时非 reactive data 的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin-front committed Jul 9, 2019
1 parent 65e649f commit 4be8f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export default {
newItem._isDisabled = !!newItem._disabled;
newItem._expanded = !!newItem._expanded;
newItem._disableExpand = !!newItem._disableExpand;
this.rowHeight[index] = 0;
this.$set(this.rowHeight, index, 0);
return newItem;
});
return list;
Expand Down

0 comments on commit 4be8f26

Please sign in to comment.