摘要: ##vue 父子组件传值:props和$emit <!--子组件页面--> <template> <div class="hello"> <!-- 添加一个input输入框 添加keypress事件--> <input type="text" v-model="inputValue" @keypre 阅读全文
posted @ 2018-02-27 15:18 李美玲 阅读(249) 评论(0) 推荐(0)