charset="UTF-8">name="viewport"content=">,实例演示父子组件之间通信方式" /> charset="UTF-8">name="viewport"content=">,实例演示父子组件之间通信方式" />
作业内容:实例演示父子组件之间通信方式
lang="en">
charset="UTF-8">
name="viewport" content=">
class="app"> {{like}} @click="addNum">{{num}} + :like-type="like" :like-num="num"> :like-type="like" :like-num="num" @like-change="likeMethod">
{{like}} @click="addNum">{{num}} +
:like-type="like" :like-num="num">
:like-type="like" :like-num="num" @like-change="likeMethod">