Skip to content

Commit

Permalink
fix: 修复单选题报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoooooo committed May 23, 2024
1 parent 57ec0b3 commit ae58f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/materials/setters/widgets/CheckBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit ae58f9e

Please sign in to comment.