![240](https://cdn2.jianshu.io/assets/default_avatar/8-a356878e44b45ab268a3b0bbaaadeeb7.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
swipe圖片輪播不管是在pc端,還是移動(dòng)端都是常見(jiàn)的效果剑肯,在這一章將用開(kāi)源插件swiper完成一個(gè)比較簡(jiǎn)單的swipe循環(huán)輪播組件.最近公司太忙捧毛,更新慢,請(qǐng)見(jiàn)諒~~ 官網(wǎng)介...
在tabbar.vue中添加 props: ['value'],
computed: {
value() {
return this.$route.matched[0].name
}
}不會(huì)出現(xiàn)The computed property "value" is already defined as a prop.的警告嗎
上一章有童鞋提到為什么不通過(guò)路由的方式來(lái)跳轉(zhuǎn)?其實(shí)我想說(shuō)的是溃睹,這個(gè)分享才剛剛開(kāi)始荐虐,大家不要著急!這一章節(jié)我們將帶大家完成丸凭,創(chuàng)建header組件,以及tabbar的路由跳轉(zhuǎn)腕铸。 ...