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: {
|
||||
colorList: {
|
||||
type: Array as PropType<string[]>,
|
||||
defualt: [],
|
||||
default: () => [],
|
||||
},
|
||||
event: {
|
||||
type: Number as PropType<HandlerEnum>,
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
props: {
|
||||
menuTypeList: {
|
||||
type: Array as PropType<typeof menuTypeList>,
|
||||
defualt: () => [],
|
||||
default: () => [],
|
||||
},
|
||||
handler: {
|
||||
type: Function as PropType<Fn>,
|
||||
|
|
|
|||
Loading…
Reference in New Issue