From bc58c2ca75a0fa3942c1e1059932bed5bd99edd1 Mon Sep 17 00:00:00 2001 From: wong1988 Date: Sun, 3 Dec 2023 19:34:40 +0800 Subject: [PATCH] 111 --- components/NavBar/NavBar.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/NavBar/NavBar.vue b/components/NavBar/NavBar.vue index 55f9262..c41c4ed 100644 --- a/components/NavBar/NavBar.vue +++ b/components/NavBar/NavBar.vue @@ -3,7 +3,7 @@ - 登录 + {{navTitle}} @@ -19,6 +19,11 @@ export default { name: "NavBar", props: { + // 标题 + navTitle: { + type: String, + default: "" + }, // 是否支持透明 supportChange: { type: Boolean,