Skip to content
Snippets Groups Projects
Commit 2e85e162 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Fix multi-type props

parent 9b9aafee
No related branches found
No related tags found
1 merge request!1304Refactor calendar overview in more different components
Pipeline #142035 failed
......@@ -36,7 +36,7 @@ export default {
extends: "v-dialog",
props: {
maxWidth: {
type: String | Number,
type: [String, Number],
required: false,
default: "600px",
},
......
......@@ -168,7 +168,7 @@ export default {
default: (item) => item,
},
itemName: {
type: String | Function,
type: [String, Function],
required: false,
default: "name",
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment