From 6fa35521b7d573fcda9f13c789d59af026a7b797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wit=E3=80=86=E8=8B=97=E5=A4=A7?= <454690789@qq.com> Date: Sat, 12 Nov 2022 00:19:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20props=20=E5=AE=9A=E4=B9=89=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF=20defual?= =?UTF-8?q?t=20=3D>=20default=20(#2362)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: props 初始化拼写错误 defualt => default * fix: props 定义默认值拼写错误 defualt => default Co-authored-by: 苗大 --- src/layouts/default/setting/components/ThemeColorPicker.vue | 2 +- src/layouts/default/setting/components/TypePicker.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/default/setting/components/ThemeColorPicker.vue b/src/layouts/default/setting/components/ThemeColorPicker.vue index d0f28ba89..ca4458fa0 100644 --- a/src/layouts/default/setting/components/ThemeColorPicker.vue +++ b/src/layouts/default/setting/components/ThemeColorPicker.vue @@ -31,7 +31,7 @@ props: { colorList: { type: Array as PropType, - defualt: [], + default: () => [], }, event: { type: Number as PropType, diff --git a/src/layouts/default/setting/components/TypePicker.vue b/src/layouts/default/setting/components/TypePicker.vue index ce8610a20..0ab918c9a 100644 --- a/src/layouts/default/setting/components/TypePicker.vue +++ b/src/layouts/default/setting/components/TypePicker.vue @@ -31,7 +31,7 @@ props: { menuTypeList: { type: Array as PropType, - defualt: () => [], + default: () => [], }, handler: { type: Function as PropType,