fix: 2566 【AI一键查重--自定义筛选】自定义筛选弹窗界面,左侧全部数量显示有误

pull/1/head
lizijiee 2 years ago
parent f700d0a3a4
commit 8330d90b1a

@ -29,7 +29,9 @@ const offList = ref<any[]>([])
const onList = ref<any[]>([])
const allCount = computed(() => {
return `全部筛选(共${offList.value.length - 1}个)`
let result = offList.value.filter(item1 => !onList.value.some(item2 => item1.id === item2.id));
return `全部筛选(共${offList.value.length}个)`
})
const selectCount = computed(() => {

Loading…
Cancel
Save