Tree: import checkbox

pull/1333/head
qingwei.li 2016-11-25 17:17:05 +08:00
parent 96f71eda55
commit cf38b8c32e
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,7 @@
:true-value="trueLabel"
:false-value="falseLabel"
v-model="model"
@change="$emit('change', $event)"
@focus="focus = true"
@blur="focus = false">
<input
@ -28,6 +29,7 @@
:value="label"
:name="name"
v-model="model"
@change="$emit('change', $event)"
@focus="focus = true"
@blur="focus = false">
</span>

View File

@ -40,6 +40,7 @@
<script type="text/jsx">
import CollapseTransition from './transition';
import ElCheckbox from 'element-ui/packages/checkbox'
export default {
name: 'el-tree-node',
@ -55,6 +56,7 @@
},
components: {
ElCheckbox,
CollapseTransition,
NodeContent: {
props: {