Vue Vant 点击显示NavBar标题
3行代码搞定van-nav-bar :title="activeTitle" fixed;
存放data里面activeTitle: this.$route.meta.title,
记得配置路由元信息meta
Vue Vant 点击显示NavBar标题
3行代码搞定van-nav-bar :title="activeTitle" fixed;
存放data里面activeTitle: this.$route.meta.title,
记得配置路由元信息meta