fix: props 定义默认值拼写错误 defualt => default (#2362)
* fix: props 初始化拼写错误 defualt => default * fix: props 定义默认值拼写错误 defualt => default Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
This commit is contained in:
parent
00c446efff
commit
6fa35521b7
|
|
@ -31,7 +31,7 @@
|
||||||
props: {
|
props: {
|
||||||
colorList: {
|
colorList: {
|
||||||
type: Array as PropType<string[]>,
|
type: Array as PropType<string[]>,
|
||||||
defualt: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
event: {
|
event: {
|
||||||
type: Number as PropType<HandlerEnum>,
|
type: Number as PropType<HandlerEnum>,
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
props: {
|
props: {
|
||||||
menuTypeList: {
|
menuTypeList: {
|
||||||
type: Array as PropType<typeof menuTypeList>,
|
type: Array as PropType<typeof menuTypeList>,
|
||||||
defualt: () => [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
handler: {
|
handler: {
|
||||||
type: Function as PropType<Fn>,
|
type: Function as PropType<Fn>,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue