refactor code

master
MaysWind 2016-06-25 19:53:09 +08:00
parent 8abdc4c75e
commit d04d321de9
1 changed files with 5 additions and 1 deletions

View File

@ -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;