Commit cf38b8c3 authored by qingwei.li's avatar qingwei.li

Tree: import checkbox

parent 96f71eda
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
:true-value="trueLabel" :true-value="trueLabel"
:false-value="falseLabel" :false-value="falseLabel"
v-model="model" v-model="model"
@change="$emit('change', $event)"
@focus="focus = true" @focus="focus = true"
@blur="focus = false"> @blur="focus = false">
<input <input
...@@ -28,6 +29,7 @@ ...@@ -28,6 +29,7 @@
:value="label" :value="label"
:name="name" :name="name"
v-model="model" v-model="model"
@change="$emit('change', $event)"
@focus="focus = true" @focus="focus = true"
@blur="focus = false"> @blur="focus = false">
</span> </span>
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
<script type="text/jsx"> <script type="text/jsx">
import CollapseTransition from './transition'; import CollapseTransition from './transition';
import ElCheckbox from 'element-ui/packages/checkbox'
export default { export default {
name: 'el-tree-node', name: 'el-tree-node',
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
}, },
components: { components: {
ElCheckbox,
CollapseTransition, CollapseTransition,
NodeContent: { NodeContent: {
props: { props: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment