mirror of https://github.com/ElemeFE/element
update tree docs
parent
56108dc9a9
commit
a38fdce7e9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue