diff --git a/src/fvcomponents/fvSearchForm/index.vue b/src/fvcomponents/fvSearchForm/index.vue index 0994c8c..b4c6534 100644 --- a/src/fvcomponents/fvSearchForm/index.vue +++ b/src/fvcomponents/fvSearchForm/index.vue @@ -68,7 +68,7 @@ const filterConfig = computed(()=>{ // 搜索功能表单元素默认值 const setDefaultFormValues = () => { filterConfig.value.forEach(item=>{ - form.value[item.prop] = item.props.defaultValue || null + form.value[item.prop] = item.props?.defaultValue || null }) }