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 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: {