Commit a38fdce7 authored by baiyaaaaa's avatar baiyaaaaa

update tree docs

parent 56108dc9
......@@ -30,9 +30,9 @@
type="checkbox"
:disabled="disabled">
</span>
<span class="el-checkbox__label">
<span class="el-checkbox__label" v-if="$slots.default || label">
<slot></slot>
<template v-if="!$slots || !$slots.default">{{label}}</template>
<template v-if="!$slots.default">{{label}}</template>
</span>
</label>
</template>
......
......@@ -21,7 +21,7 @@
vertical-align: middle;
}
& > * {
margin-right: 8px;
margin-right: 3px;
}
&:hover {
background: #e5e9f2;
......
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