diff --git a/src/form/README.md b/src/form/README.md index 1ba18bd49..8b0879cee 100644 --- a/src/form/README.md +++ b/src/form/README.md @@ -114,7 +114,9 @@ export default { ```html - + ``` @@ -132,17 +134,17 @@ export default { ```html - + - - Checkbox 1 - Checkbox 2 - + ``` @@ -161,10 +163,12 @@ export default { ```html - - Radio 1 - Radio 2 - + ``` @@ -182,7 +186,9 @@ export default { ```html - + ``` @@ -200,7 +206,9 @@ export default { ```html - + ``` @@ -218,7 +226,9 @@ export default { ```html - + ``` @@ -236,7 +246,9 @@ export default { ```html - + ``` diff --git a/src/form/README.zh-CN.md b/src/form/README.zh-CN.md index 2eb97b399..09a92089c 100644 --- a/src/form/README.zh-CN.md +++ b/src/form/README.zh-CN.md @@ -126,7 +126,9 @@ export default { ```html - + ``` @@ -146,17 +148,17 @@ export default { ```html - + - - 复选框 1 - 复选框 2 - + ``` @@ -177,10 +179,12 @@ export default { ```html - - 单选框 1 - 单选框 2 - + ``` @@ -200,7 +204,9 @@ export default { ```html - + ``` @@ -220,7 +226,9 @@ export default { ```html - + ``` @@ -240,7 +248,9 @@ export default { ```html - + ``` @@ -260,7 +270,9 @@ export default { ```html - + ``` diff --git a/src/form/demo/FieldType.vue b/src/form/demo/FieldType.vue index 3a90b6764..06957faed 100644 --- a/src/form/demo/FieldType.vue +++ b/src/form/demo/FieldType.vue @@ -2,49 +2,61 @@ - + - + - - - {{ $t('checkbox') }} 1 - - - {{ $t('checkbox') }} 2 - - + - - {{ $t('radio') }} 1 - {{ $t('radio') }} 2 - + - + - + - + - + diff --git a/src/form/test/__snapshots__/demo.spec.js.snap b/src/form/test/__snapshots__/demo.spec.js.snap index 0045fac1d..2276e02b5 100644 --- a/src/form/test/__snapshots__/demo.spec.js.snap +++ b/src/form/test/__snapshots__/demo.spec.js.snap @@ -76,14 +76,14 @@ exports[`renders demo correctly 1`] = ` diff --git a/src/form/test/props.spec.js b/src/form/test/props.spec.js index ebd763339..406cbe06e 100644 --- a/src/form/test/props.spec.js +++ b/src/form/test/props.spec.js @@ -150,7 +150,9 @@ test('input-align prop', () => { -
+ `,