Merge branch 'checkbox_tabindex' of github.com:Xotic750/iview into checkbox_tabindex
This commit is contained in:
commit
4f3bedf19b
1 changed files with 8 additions and 4 deletions
|
@ -14,7 +14,9 @@
|
||||||
:value="label"
|
:value="label"
|
||||||
v-model="model"
|
v-model="model"
|
||||||
:name="name"
|
:name="name"
|
||||||
@change="change">
|
@change="change"
|
||||||
|
@focus="$el.focus()"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
v-if="!group"
|
v-if="!group"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
@ -23,7 +25,9 @@
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:checked="currentValue"
|
:checked="currentValue"
|
||||||
:name="name"
|
:name="name"
|
||||||
@change="change">
|
@change="change"
|
||||||
|
@focus="$el.focus()"
|
||||||
|
>
|
||||||
</span>
|
</span>
|
||||||
<slot><span v-if="showSlot">{{ label }}</span></slot>
|
<slot><span v-if="showSlot">{{ label }}</span></slot>
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Add table
Reference in a new issue