fix checkbox name

pull/1045/head
baiyaaaaa 2016-11-13 23:51:44 +08:00
parent 4f835aa9af
commit 67490a29a3
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
v-if="trueLabel || falseLabel"
class="el-checkbox__original"
type="checkbox"
:name="name"
:disabled="disabled"
:true-value="trueLabel"
:false-value="falseLabel"
@ -27,6 +28,7 @@
type="checkbox"
:disabled="disabled"
:value="label"
:name="name"
v-model="_value"
@focus="focus = true"
@blur="focus = false"
@ -52,6 +54,7 @@
indeterminate: Boolean,
disabled: Boolean,
checked: Boolean,
name: String,
trueLabel: [String, Number],
falseLabel: [String, Number]
},