diff --git a/components/NavBar/NavBar.vue b/components/NavBar/NavBar.vue index 8d08f92..8a332fe 100644 --- a/components/NavBar/NavBar.vue +++ b/components/NavBar/NavBar.vue @@ -23,7 +23,7 @@ - @@ -31,17 +31,21 @@ - + - {{nativeNavNoRemove?"":navTitle}} + {{navTitle}} - + + + + + @@ -103,7 +107,7 @@ enableWidth: 0, fontSize: 0, navStyle: 'left', - nativeNavNoRemove: true, + supportCustomBar: true, }; }, mounted() { @@ -130,7 +134,7 @@ this.disableWidth = navInfo.navBar.disableWidth + navInfo.unit this.enableWidth = navInfo.navBar.enableWidth + navInfo.unit this.fontSize = navInfo.navBar.fontSize + navInfo.unit - this.nativeNavNoRemove = navInfo.menuButton.nativeNavNoRemove + this.supportCustomBar = navInfo.supportCustomBar }, methods: { /**