Skip to content

Commit f1b2b32

Browse files
committed
U
1 parent baf9f6d commit f1b2b32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,19 @@ import 'mint-ui/lib/toast/style.css';
9191
#### 补充
9292

9393
- 关于事件绑定
94-
- 在 Vue 2.0 中,为自定义组件绑定原生事件必须使用 *.native* 修饰符:
94+
- 在 Vue 2.0 中,为自定义组件绑定原生事件必须使用 __.native__ 修饰符:
9595

9696
```js
9797
<my-component @click.native="handleClick">Click Me</my-component>
9898
```
9999

100-
- 从易用性的角度出发,我们对 *Button* 组件进行了处理,使它可以监听 *click* 事件:
100+
- 从易用性的角度出发,我们对 __Button__ 组件进行了处理,使它可以监听 __click__ 事件:
101101

102102
```js
103103
<mt-button @click="handleButtonClick">Click Me</mt-button>
104104
```
105105

106-
- 但是对于其他组件,还是需要添加 *.native* 修饰符。
106+
- 但是对于其他组件,还是需要添加 __.native__ 修饰符。
107107

108108

109109
- 来源: http://mint-ui.github.io/docs/#!/zh-cn2

0 commit comments

Comments
 (0)