docs(Radio): fix label-disabled error (#2763)

fix #2751
This commit is contained in:
rex 2020-02-15 17:43:53 +08:00 committed by GitHub
parent c64d80ab59
commit ad3973272b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ Page({
通过设置`label-disabled`属性可以禁用复选框文本点击
```html
<van-checkbox value="{{ checked }}" icon-disabled>复选框</van-checkbox>
<van-checkbox value="{{ checked }}" label-disabled>复选框</van-checkbox>
```
### 自定义形状

View File

@ -54,8 +54,8 @@ Page({
```html
<van-radio-group value="{{ radio }}" bind:change="onChange">
<van-radio name="1" icon-disabled>单选框 1</van-radio>
<van-radio name="2" icon-disabled>单选框 2</van-radio>
<van-radio name="1" label-disabled>单选框 1</van-radio>
<van-radio name="2" label-disabled>单选框 2</van-radio>
</van-radio-group>
```