fix: 组件调整

This commit is contained in:
lilinyuan
2024-04-01 14:28:08 +08:00
parent 1b10b9aa2b
commit 6e42dd43f7
2 changed files with 1 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ const props = defineProps({
default: []
},
modelValue: {
type: [Number, String],
type: [Number, String, Boolean],
default: ''
},
cacheKey: {

View File

@@ -65,8 +65,6 @@ const filterConfig = computed(()=>{
return arr.length >= 4 && showMore.value ? arr : arr.slice(0, 3)
})
console.log(filterConfig.value, 'filterConfig');
// 搜索功能表单元素默认值
const setDefaultFormValues = () => {
filterConfig.value.forEach(item=>{