Loading

摘要: 自定义事件 事件名字 组件上使用camelCase 名字的事件无法被kebab-case监听 this.$emit('myEvent'); <!-- 没有效果 --> <my-component v-on:my-event="doSomething"></my-componet> 始终使用 keba 阅读全文
posted @ 2020-11-26 00:45 澎湃_L 阅读(52) 评论(0) 推荐(0) 编辑