update Table
update Table
This commit is contained in:
parent
39947c1474
commit
340681ab50
4 changed files with 6 additions and 13 deletions
|
@ -179,6 +179,7 @@
|
|||
this.columnsWidth = [];
|
||||
let autoWidthIndex = -1;
|
||||
if (allWidth) autoWidthIndex = this.cloneColumns.findIndex(cell => !cell.width);
|
||||
console.log(1)
|
||||
|
||||
const $td = this.$refs.tbody.$el.querySelectorAll('tbody tr')[0].querySelectorAll('td');
|
||||
for (let i = 0; i < $td.length; i++) { // can not use forEach in Firefox
|
||||
|
@ -328,6 +329,7 @@
|
|||
},
|
||||
columns: {
|
||||
handler () {
|
||||
this.cloneColumns = deepCopy(this.columns);
|
||||
this.parseColumns();
|
||||
this.handleResize();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue