From b1074b737a592b5030d16fb2b143740ffbe46680 Mon Sep 17 00:00:00 2001 From: SkyAo Date: Tue, 23 Aug 2016 18:32:28 +0800 Subject: [PATCH] fix radio logic & radio document --- examples/docs/radio.md | 57 +++++++++++++++++++++-------- packages/radio/src/radio-button.vue | 11 +++--- 2 files changed, 48 insertions(+), 20 deletions(-) diff --git a/examples/docs/radio.md b/examples/docs/radio.md index 862dfa7e5..48652a050 100644 --- a/examples/docs/radio.md +++ b/examples/docs/radio.md @@ -15,12 +15,16 @@ ## 基本用法 +要使用 Radio 组件,只需要设置`v-model`绑定变量,选中意味着变量的值为相应 Radio `label`属性的值,`label`可以是`String`或者`Number`。 +
+{{radio}} + ```html