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

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

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

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
This commit is contained in:
Wit〆苗大 2022-11-12 00:19:58 +08:00 committed by GitHub
parent 00c446efff
commit 6fa35521b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
props: {
colorList: {
type: Array as PropType<string[]>,
defualt: [],
default: () => [],
},
event: {
type: Number as PropType<HandlerEnum>,

View File

@ -31,7 +31,7 @@
props: {
menuTypeList: {
type: Array as PropType<typeof menuTypeList>,
defualt: () => [],
default: () => [],
},
handler: {
type: Function as PropType<Fn>,