From 2d909b276b792b83117df448c609508f726d39ae Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 23 Jan 2025 15:28:31 +0800 Subject: [PATCH] =?UTF-8?q?perf(components):=20=E6=B7=BB=E5=8A=A0=20v-memo?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E4=BB=A5=E4=BC=98=E5=8C=96=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 AppFooter 组件中,为最外层 div 添加 v-memo="[active]" 指令- 在 AppHeader 组件中,为 VanNavBar 组件添加 v-memo="[title, fullLive, showLeftArrow, subTitle]" 指令 - 移除了 AppHeader 组件中的 console.log 语句 --- app/components/AppFooter.vue | 2 +- app/components/AppHeader.vue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue index e6cca9d..8303f50 100644 --- a/app/components/AppFooter.vue +++ b/app/components/AppFooter.vue @@ -18,7 +18,7 @@ onMounted(()=>{