diff --git a/examples/routers/table.vue b/examples/routers/table.vue index c48347b..19f9a73 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -1,27 +1,15 @@ \ No newline at end of file + diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index efa5a8d..0809ece 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -92,6 +92,7 @@ isSelectAll () { let isSelectAll = true; if (!this.data.length) isSelectAll = false; + if (!this.data.find(item => !item._disabled)) isSelectAll = false; // #1751 for (let i = 0; i < this.data.length; i++) { if (!this.objData[this.data[i]._index]._isChecked && !this.objData[this.data[i]._index]._isDisabled) { isSelectAll = false; -- libgit2 0.21.4