fix: 组件调整
This commit is contained in:
@@ -15,7 +15,7 @@ const props = defineProps({
|
|||||||
default: []
|
default: []
|
||||||
},
|
},
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: [Number, String],
|
type: [Number, String, Boolean],
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
cacheKey: {
|
cacheKey: {
|
||||||
|
|||||||
@@ -65,8 +65,6 @@ const filterConfig = computed(()=>{
|
|||||||
return arr.length >= 4 && showMore.value ? arr : arr.slice(0, 3)
|
return arr.length >= 4 && showMore.value ? arr : arr.slice(0, 3)
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(filterConfig.value, 'filterConfig');
|
|
||||||
|
|
||||||
// 搜索功能表单元素默认值
|
// 搜索功能表单元素默认值
|
||||||
const setDefaultFormValues = () => {
|
const setDefaultFormValues = () => {
|
||||||
filterConfig.value.forEach(item=>{
|
filterConfig.value.forEach(item=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user