From 64b1e8722b2587895abd7eaa27a8ec7a611e5610 Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Mon, 15 Aug 2022 18:15:35 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Main.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/views/Main.vue b/src/views/Main.vue index 99ab681..5108248 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -108,10 +108,7 @@ onMounted(() => { }, 500) // 监听搜索框 - watch(filterText, (val) => { - console.log(val) - updateShowList(activeTab.value) - }) + watch(filterText, (val) => updateShowList(activeTab.value)) // 列表懒加载 document.addEventListener('scroll', (e) => { @@ -148,7 +145,6 @@ onMounted(() => { } else if (isSearch) { document.querySelector('input').focus() } else if (isExit) { - console.log('isExit') filterText.value = '' } })