修复tree组件一处书写错误;修复第3级目录样式问题
parent
759e4304a0
commit
65ac216f91
|
@ -56,10 +56,10 @@ export default Anot.component('tree', {
|
|||
list: el[props.children],
|
||||
onSelected: props.onSelected,
|
||||
onChecked: onChecked,
|
||||
id: 'id',
|
||||
label: 'label',
|
||||
parent: 'parent',
|
||||
children: 'children'
|
||||
id: props.id,
|
||||
label: props.label,
|
||||
parent: props.parent,
|
||||
children: props.children
|
||||
}"></template>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
li {overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
|
||||
|
||||
li ul {display:none;margin-left:20px;}
|
||||
li.open ul {display:block;}
|
||||
li.open>ul {display:block;}
|
||||
|
||||
li em,
|
||||
li span {display:inline-block;cursor:pointer;color:nth($cgr, 2);}
|
||||
|
|
Reference in New Issue