fix issue 14808 (#14809)

pull/15753/head
OverTree 2019-05-27 07:48:59 -05:00 committed by luckyCao
parent 45383cd655
commit 90448d6786
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@
> >
<span class="el-radio__inner"></span> <span class="el-radio__inner"></span>
<input <input
ref="radio"
class="el-radio__original" class="el-radio__original"
:value="label" :value="label"
type="radio" type="radio"
@ -98,6 +99,7 @@
} else { } else {
this.$emit('input', val); this.$emit('input', val);
} }
this.$refs.radio && (this.$refs.radio.checked = this.model === this.label);
} }
}, },
_elFormItemSize() { _elFormItemSize() {