Refactor #1263
parent
c88265ecbe
commit
dcf60ef1a3
|
@ -34,8 +34,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
columnProp(prop) {
|
columnProp(prop) {
|
||||||
let propName = ObjectUtils.camelToKebap(prop);
|
return ObjectUtils.getVNodeProp(this.column, prop);
|
||||||
return this.column.props ? ((this.column.type.props[propName].type === Boolean && this.column.props[propName] === '') ? true : this.column.props[propName]) : null;
|
|
||||||
},
|
},
|
||||||
updateStickyPosition() {
|
updateStickyPosition() {
|
||||||
if (this.columnProp('frozen')) {
|
if (this.columnProp('frozen')) {
|
||||||
|
|
Loading…
Reference in New Issue