refactor code
This commit is contained in:
parent
8abdc4c75e
commit
d04d321de9
|
@ -97,7 +97,11 @@
|
||||||
},
|
},
|
||||||
selectAll: function () {
|
selectAll: function () {
|
||||||
if (!this.list || !this.selected || this.list.length < 1) {
|
if (!this.list || !this.selected || this.list.length < 1) {
|
||||||
return result;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.enableSelectAll) {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var isAllSelected = true;
|
var isAllSelected = true;
|
||||||
|
|
Reference in a new issue