-
-
-
-
-
- Apple
-
-
-
-
-
- Android
-
-
-
-
-
- Windows
-
-
-
+
+ 男
+ 女
@@ -28,8 +10,7 @@
export default {
data () {
return {
- phone: 'apple',
- animal: '爪哇犀牛'
+ sex: 0
}
}
}
diff --git a/src/components/radio/radio.vue b/src/components/radio/radio.vue
index e850504..3726162 100644
--- a/src/components/radio/radio.vue
+++ b/src/components/radio/radio.vue
@@ -83,7 +83,7 @@
this.currentValue = checked;
this.$emit('input', checked);
- if (this.group && this.label) {
+ if (this.group && this.label !== undefined) {
this.parent.change({
value: this.label,
checked: this.value
--
libgit2 0.21.4