This commit is contained in:
Theluyuan 2023-04-25 08:42:38 +08:00
parent 971731f497
commit 392b2d1547
4 changed files with 6 additions and 4 deletions

View File

@ -106,7 +106,8 @@ const _sfc_main$1 = defineComponent({
key: nodeIndex,
class: normalizeClass({
"layui-tree-set": true,
"layui-tree-setLineShort": renderLineShort(node)
"layui-tree-setLineShort": renderLineShort(node),
"layui-tree-setHide": node.isRoot
})
}, [
createElementVNode("div", {

View File

@ -17703,7 +17703,8 @@ const _sfc_main$K = defineComponent({
key: nodeIndex,
class: normalizeClass({
"layui-tree-set": true,
"layui-tree-setLineShort": renderLineShort(node)
"layui-tree-setLineShort": renderLineShort(node),
"layui-tree-setHide": node.isRoot
})
}, [
createElementVNode("div", {

View File

@ -141,7 +141,7 @@ const isChildAllSelected = computed(() => {
:class="{
'layui-tree-set': true,
'layui-tree-setLineShort': renderLineShort(node),
// 'layui-tree-setHide': node.isRoot,
'layui-tree-setHide': node.isRoot,
}"
>
<div class="layui-tree-entry" @click="handleRowClick(node)">

File diff suppressed because one or more lines are too long