parent
8a4f9d5af3
commit
6a24817623
1 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const allWidth = !this.columns.some(cell => !cell.width); // each column set a width
|
const allWidth = !this.columns.some(cell => !cell.width); // each column set a width
|
||||||
if (allWidth) {
|
if (allWidth) {
|
||||||
this.tableWidth = this.columns.map(cell => cell.width).reduce((a, b) => a + b);
|
this.tableWidth = this.columns.map(cell => cell.width).reduce((a, b) => a + b, 0);
|
||||||
} else {
|
} else {
|
||||||
this.tableWidth = parseInt(getStyle(this.$el, 'width')) - 1;
|
this.tableWidth = parseInt(getStyle(this.$el, 'width')) - 1;
|
||||||
}
|
}
|
||||||
|
@ -438,7 +438,7 @@
|
||||||
// }else{
|
// }else{
|
||||||
// this.objData[data._index]._isChecked = status;
|
// this.objData[data._index]._isChecked = status;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// });
|
// });
|
||||||
for(const data of this.rebuildData){
|
for(const data of this.rebuildData){
|
||||||
if(this.objData[data._index]._isDisabled){
|
if(this.objData[data._index]._isDisabled){
|
||||||
|
|
Loading…
Add table
Reference in a new issue