From c5528a773c64573868d62a4a589121762d5a2a14 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Fri, 6 Sep 2024 14:32:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor(layout):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E5=AF=BC=E8=88=AA=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=A4=84=E7=90=86=E5=92=8C=E7=BB=84=E4=BB=B6=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化了布局组件中的默认底部导航配置,将字符串类型的 nav_style 和 nav_type 更改为数字类型,以提高数据处理效率。此外,修正了通过引用传递 nav_content 和 nav_style,确保组件之间的数据同步更加可靠。 --- .../footer-nav/footer-nav-content.vue | 23 +++++++------- .../footer-nav/footer-nav-setting.vue | 18 +++++------ src/components/footer-nav/index.vue | 20 +++++++++--- .../components/main/default/footer-nav.ts | 8 ++--- src/views/layout/index.vue | 31 ++++++++++++++++--- 5 files changed, 65 insertions(+), 35 deletions(-) diff --git a/src/components/footer-nav/footer-nav-content.vue b/src/components/footer-nav/footer-nav-content.vue index 86c87704..230ce46b 100644 --- a/src/components/footer-nav/footer-nav-content.vue +++ b/src/components/footer-nav/footer-nav-content.vue @@ -5,15 +5,15 @@