diff --git a/src/radio/README.md b/src/radio/README.md
index f4628d757..d61ba816e 100644
--- a/src/radio/README.md
+++ b/src/radio/README.md
@@ -51,15 +51,6 @@ export default {
```
-### Disabled Label Click
-
-```html
-
- Radio 1
- Radio 2
-
-```
-
### Custom Shape
```html
@@ -124,6 +115,15 @@ export default {
};
```
+### Disable Label Click
+
+```html
+
+ Radio 1
+ Radio 2
+
+```
+
### Inside a Cell
```html
diff --git a/src/radio/README.zh-CN.md b/src/radio/README.zh-CN.md
index 908dc92b4..fbc1c6eb6 100644
--- a/src/radio/README.zh-CN.md
+++ b/src/radio/README.zh-CN.md
@@ -55,17 +55,6 @@ export default {
```
-### 禁用文本点击
-
-设置`label-disabled`属性后,点击单选框图标以外的内容不会触发切换
-
-```html
-
- 单选框 1
- 单选框 2
-
-```
-
### 自定义形状
通过`square`属性设置选中状态的图标颜色
@@ -134,6 +123,17 @@ export default {
}
```
+### 禁用文本点击
+
+设置`label-disabled`属性后,点击图标以外的内容不会触发单选框切换
+
+```html
+
+ 单选框 1
+ 单选框 2
+
+```
+
### 与 Cell 组件一起使用
此时你需要再引入`Cell`和`CellGroup`组件
diff --git a/src/radio/demo/index.vue b/src/radio/demo/index.vue
index d9a22492e..25fda91f9 100644
--- a/src/radio/demo/index.vue
+++ b/src/radio/demo/index.vue
@@ -25,13 +25,6 @@
-
-
- {{ $t('radio') }} 1
- {{ $t('radio') }} 2
-
-
-
{{ $t('radio') }} 1
@@ -50,6 +43,17 @@
+
+
+
+ {{ $t('radio') }} 1
+
+
+ {{ $t('radio') }} 2
+
+
+
+
@@ -67,14 +71,10 @@
-
-
-
- {{ $t('radio') }} 1
-
-
- {{ $t('radio') }} 2
-
+
+
+ {{ $t('radio') }} 1
+ {{ $t('radio') }} 2
@@ -106,7 +106,7 @@ export default {
customColor: '自定义颜色',
customShape: '自定义形状',
customIconSize: '自定义大小',
- disabledLabelClick: '禁用文本点击',
+ disableLabel: '禁用文本点击',
},
'en-US': {
radio: 'Radio',
@@ -118,7 +118,7 @@ export default {
customColor: 'Custom Color',
customShape: 'Custom Shape',
customIconSize: 'Custom Icon Size',
- disabledLabelClick: 'Disable the click event of label',
+ disableLabel: 'Disable label click',
},
},
diff --git a/src/radio/test/__snapshots__/demo.spec.js.snap b/src/radio/test/__snapshots__/demo.spec.js.snap
index 747e04ca6..37780ae48 100644
--- a/src/radio/test/__snapshots__/demo.spec.js.snap
+++ b/src/radio/test/__snapshots__/demo.spec.js.snap
@@ -38,18 +38,6 @@ exports[`renders demo correctly 1`] = `