diff --git a/src/scripts/core/root.js b/src/scripts/core/root.js index 7fc7c47..de6d312 100644 --- a/src/scripts/core/root.js +++ b/src/scripts/core/root.js @@ -97,7 +97,11 @@ }, selectAll: function () { if (!this.list || !this.selected || this.list.length < 1) { - return result; + return; + } + + if (!this.enableSelectAll) { + return; } var isAllSelected = true;