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
Harvey Lee 2022-02-03 17:01:41 +11:00 committed by Tuğçe Küçükoğlu
parent 18a78bb82c
commit 77dfce1186
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export default {
default: null
},
field: {
type: String,
type: [String, Function],
default: null
},
sortField: {
@ -15,7 +15,7 @@ export default {
default: null
},
filterField: {
type: String,
type: [String, Function],
default: null
},
dataType: {