护工手机端页面总结
this.$route.query或者?this.$route.params接收router-link傳的參數
有個方法就是在script標簽里面寫this.$router.push('要跳轉的路徑名'),
?
?
關于導入組件,組件跳轉,和組件顯示
組件:(關注點:showtabbar,footer-tabbar,FooterTabbar)
app.vue
<footer-tabbar v-show="$route.meta.showtabbar"></footer-tabbar> <script> import FooterTabbar from './components/FooterTabbar' export default { name: 'app', components: { FooterTabbar } } </script> index.js { path: '/Home', name: 'Home', component: Home, meta: { showtabbar: true } },轉載于:https://www.cnblogs.com/jiye123/p/8652390.html
總結
- 上一篇: USACO Section 1.2 Gr
- 下一篇: PHP-FPM Fastcgi 未授权访