
Vue
keli_Jun
在到达胜利之前,无法回头
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Vue组件之间的通信(一)
子组件调用父组件方法并改变父组件下另一个子组件的data 子组件 <el-menu>里@select="handleSelect"然后 methods: { handleSelect(key,keyPath){ this.cid= key this.$emit('indexSelect') //emit,即触发,在子组件中使用 $em...原创 2020-05-05 16:58:50 · 494 阅读 · 0 评论 -
Vue数据绑定之for循环
一、添加数据要绑定的数据 data () { return { words: [ { content: "耳朵终将遇到耳朵", date: "2020-05-05 9:49", author: "耳朵" }, ...原创 2020-05-05 16:20:30 · 1171 阅读 · 0 评论