diff --git a/src/renderer/src/views/components/propertyBox/photo.vue b/src/renderer/src/views/components/propertyBox/photo.vue index 0e386ae..49add7e 100644 --- a/src/renderer/src/views/components/propertyBox/photo.vue +++ b/src/renderer/src/views/components/propertyBox/photo.vue @@ -190,7 +190,7 @@ let observer: IntersectionObserver | null = null const treeRef: any = ref('') watch(modelName, (val) => { - if (treeRef.value && treeRef.value.length !== '') { + if (treeRef.value && treeRef.value !== '') { treeRef.value?.filter(val) } })