|
@@ -32,8 +32,9 @@ const defaults = {
|
|
|
|
|
|
const forced = {
|
|
|
selection: {
|
|
|
- renderHeader: function(h) {
|
|
|
+ renderHeader: function(h, { store }) {
|
|
|
return <el-checkbox
|
|
|
+ indeterminate={ store.states.selection.length > 0 && !this.isAllSelected }
|
|
|
nativeOn-click={ this.toggleAllSelection }
|
|
|
value={ this.isAllSelected } />;
|
|
|
},
|