* fix: props 初始化拼写错误 defualt => default * fix: props 定义默认值拼写错误 defualt => default Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
@@ -31,7 +31,7 @@
props: {
colorList: {
type: Array as PropType<string[]>,
- defualt: [],
+ default: () => [],
},
event: {
type: Number as PropType<HandlerEnum>,
menuTypeList: {
type: Array as PropType<typeof menuTypeList>,
- defualt: () => [],
handler: {
type: Function as PropType<Fn>,