diff --git a/components/NavBar/NavBar.vue b/components/NavBar/NavBar.vue index 9b3d64b..ea5b996 100644 --- a/components/NavBar/NavBar.vue +++ b/components/NavBar/NavBar.vue @@ -15,7 +15,9 @@ style="width: 20px;height: 20px;padding-right: 6px;" @click="clickIcon"> - {{navTitle}} + + {{navTitle}} + @@ -114,7 +116,7 @@ } } // 赋值样式 - this.navStyle = getApp().globalData.navInfo.navBar.style + // this.navStyle = getApp().globalData.navInfo.navBar.style }, created() { // create阶段能拿取到了props的值,需要使用this.变量名