Add Function to Column prop field types
To match the Typescript types added in #1078 and not trigger Vue's "Invalid prop" warnings.pull/2147/head
parent
18a78bb82c
commit
77dfce1186
|
@ -7,7 +7,7 @@ export default {
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
field: {
|
field: {
|
||||||
type: String,
|
type: [String, Function],
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
sortField: {
|
sortField: {
|
||||||
|
@ -15,7 +15,7 @@ export default {
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
filterField: {
|
filterField: {
|
||||||
type: String,
|
type: [String, Function],
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
dataType: {
|
dataType: {
|
||||||
|
|
Loading…
Reference in New Issue