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,