From a165f3223e9362e5cececdc963dab30e8ca8e657 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Fri, 07 Mar 2025 13:01:10 +0800 Subject: [PATCH] 知识库文档,改写控制层基类主要方法列表 --- layout/navCustomBar/CNavCustomBar.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/layout/navCustomBar/CNavCustomBar.vue b/layout/navCustomBar/CNavCustomBar.vue index cad1c7b..065738c 100644 --- a/layout/navCustomBar/CNavCustomBar.vue +++ b/layout/navCustomBar/CNavCustomBar.vue @@ -94,6 +94,11 @@ $getStatusBarHeight() { return this.statusBarHeight; }, + + // 使用自定义导航时,需要在主页显示的设置padding的值,此值是导航栏的高度,本导航已经使用固定定位为头部 + $getNavBarHeight() { + return this.navBarHeight; + }, }, }; </script> -- Gitblit v1.9.1