摘要:
1.字母组件给父组件传递当前点击的字母值 2.父组件接收字母组件传递的值 3.实现滑动跳转城市 阅读全文
posted @ 2018-09-28 18:34
chenlw101
阅读(2103)
评论(1)
推荐(0)
摘要:
key值 阅读全文
posted @ 2018-09-28 16:29
chenlw101
阅读(281)
评论(0)
推荐(0)
摘要:
//配置路由 Vue.use(Router) export default new Router({ routes: [{ path: '/', name: 'Home', component: Home },{ path: '/city', name: 'City', component: City ... 阅读全文
posted @ 2018-09-28 15:34
chenlw101
阅读(191)
评论(0)
推荐(0)
摘要:
子组件 阅读全文
posted @ 2018-09-28 15:30
chenlw101
阅读(241)
评论(0)
推荐(0)
摘要:
//使用ref属性来获取当前的div的dom属性 //在js里面这样使用 this.$refs.wrapper 阅读全文
posted @ 2018-09-28 15:23
chenlw101
阅读(118)
评论(0)
推荐(0)