Unverified 提交 6fa35521 作者: Wit〆苗大 提交者: GitHub

fix: props 定义默认值拼写错误 defualt => default (#2362)

* fix: props 初始化拼写错误 defualt => default

* fix: props 定义默认值拼写错误 defualt => default

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
上级 00c446ef
...@@ -31,7 +31,7 @@ ...@@ -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 @@ ...@@ -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>,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论