Commit 6fa35521b7d573fcda9f13c789d59af026a7b797
Committed by
GitHub
1 parent
00c446ef
fix: props 定义默认值拼写错误 defualt => default (#2362)
* fix: props 初始化拼写错误 defualt => default * fix: props 定义默认值拼写错误 defualt => default Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Showing
2 changed files
with
2 additions
and
2 deletions
src/layouts/default/setting/components/ThemeColorPicker.vue
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | props: { | 31 | props: { |
32 | colorList: { | 32 | colorList: { |
33 | type: Array as PropType<string[]>, | 33 | type: Array as PropType<string[]>, |
34 | - defualt: [], | 34 | + default: () => [], |
35 | }, | 35 | }, |
36 | event: { | 36 | event: { |
37 | type: Number as PropType<HandlerEnum>, | 37 | type: Number as PropType<HandlerEnum>, |
src/layouts/default/setting/components/TypePicker.vue
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | props: { | 31 | props: { |
32 | menuTypeList: { | 32 | menuTypeList: { |
33 | type: Array as PropType<typeof menuTypeList>, | 33 | type: Array as PropType<typeof menuTypeList>, |
34 | - defualt: () => [], | 34 | + default: () => [], |
35 | }, | 35 | }, |
36 | handler: { | 36 | handler: { |
37 | type: Function as PropType<Fn>, | 37 | type: Function as PropType<Fn>, |