From ae58f9e06d1d168c8eafa26c88c99560ce88fb6e Mon Sep 17 00:00:00 2001 From: sudoooooo Date: Thu, 23 May 2024 16:21:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8D=95=E9=80=89?= =?UTF-8?q?=E9=A2=98=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/materials/setters/widgets/CheckBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/materials/setters/widgets/CheckBox.vue b/web/src/materials/setters/widgets/CheckBox.vue index 87efa774..4fe7df9a 100644 --- a/web/src/materials/setters/widgets/CheckBox.vue +++ b/web/src/materials/setters/widgets/CheckBox.vue @@ -44,7 +44,7 @@ const watchValue = computed(() => props.formConfig.value) watch(watchOptionOrigin, (newVal) => { const key = props.formConfig.key - const extraLen = props.moduleConfig?.extraOptions.length + const extraLen = props.moduleConfig?.extraOptions?.length if (key === 'randomSort' && newVal && extraLen === 0) { emit(FORM_CHANGE_EVENT_KEY, { key: 'randomSort', value: false })