Skip to content

Commit

Permalink
Update writing-mip-component-in-vue-style.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clark-t authored Mar 22, 2019
1 parent 81f0f76 commit 3169a34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default {
<mip-example on="mounted:btn.click()"></mip-example>
```

关于 on 语法监听事件属于 MIP 组件的使用,可以参考文档 [可交互 MIP](../../docs/interactive/event-and-action.md) 进行学习,这里就不做赘述。
关于 on 语法监听事件属于 MIP 组件的使用,可以参考文档 [可交互 MIP](../../docs/interactive-mip/event-and-action.md) 进行学习,这里就不做赘述。

this.$emit() 方法可以传入第二个参数,该参数要求类型为一个对象,这样就能够在触发事件的同时向外传递数据:

Expand Down

0 comments on commit 3169a34

Please sign in to comment.