Update table-head.vue

This commit is contained in:
Aresn 2019-05-21 11:18:04 +08:00 committed by GitHub
parent c92fde6798
commit 52e49907f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@
isSelectDisabled () {
let isSelectDisabled = false;
if (!this.data.length) isSelectDisabled = true;
if(!this.data.find(item => !item._disabled)) isSelectDisabled = true;
if (!this.data.find(item => !item._disabled)) isSelectDisabled = true;
return isSelectDisabled;
}
},