|
@@ -124,7 +124,7 @@ export default {
|
|
|
minWidth: {},
|
|
|
renderHeader: Function,
|
|
|
sortable: {
|
|
|
- type: [Boolean, String],
|
|
|
+ type: [String, Boolean],
|
|
|
default: false
|
|
|
},
|
|
|
sortMethod: Function,
|
|
@@ -222,14 +222,14 @@ export default {
|
|
|
context: this.context,
|
|
|
align: this.align ? 'is-' + this.align : null,
|
|
|
headerAlign: this.headerAlign ? 'is-' + this.headerAlign : (this.align ? 'is-' + this.align : null),
|
|
|
- sortable: this.sortable,
|
|
|
+ sortable: this.sortable === '' ? true : this.sortable,
|
|
|
sortMethod: this.sortMethod,
|
|
|
resizable: this.resizable,
|
|
|
showOverflowTooltip: this.showOverflowTooltip || this.showTooltipWhenOverflow,
|
|
|
formatter: this.formatter,
|
|
|
selectable: this.selectable,
|
|
|
reserveSelection: this.reserveSelection,
|
|
|
- fixed: this.fixed,
|
|
|
+ fixed: this.fixed === '' ? true : this.fixed,
|
|
|
filterMethod: this.filterMethod,
|
|
|
filters: this.filters,
|
|
|
filterable: this.filters || this.filterMethod,
|