From 03e5565fc5dca1bd407f5f716c94a7bfcf4225a8 Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Tue, 27 Feb 2018 13:51:25 +0800 Subject: [PATCH] fix switch doc --- components/switch/index.en-US.md | 2 +- components/switch/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/switch/index.en-US.md b/components/switch/index.en-US.md index e94c5223e..4a7a91116 100644 --- a/components/switch/index.en-US.md +++ b/components/switch/index.en-US.md @@ -10,7 +10,7 @@ | loading | loading state of switch | boolean | false | | size | the size of the `Switch`, options: `default` `small` | string | default | | unCheckedChildren | content to be shown when the state is unchecked | string\|slot | | -| onChange | a callback function, can be executed when the checked state is changing | Function(checked:Boolean) | | +| change | a callback function, can be executed when the checked state is changing | Function(checked:Boolean) | | ## Methods diff --git a/components/switch/index.zh-CN.md b/components/switch/index.zh-CN.md index 89cf59bd5..6cb97cedd 100644 --- a/components/switch/index.zh-CN.md +++ b/components/switch/index.zh-CN.md @@ -10,7 +10,7 @@ | loading | 加载中的开关 | boolean | false | | size | 开关大小,可选值:`default` `small` | string | default | | unCheckedChildren | 非选中时的内容 | string\|slot | | -| onChange | 变化时回调函数 | Function(checked:Boolean) | | +| change | 变化时回调函数 | Function(checked:Boolean) | | ## 方法