删除无用代码

This commit is contained in:
lxj
2025-08-27 20:40:49 +08:00
parent a43cb1b390
commit 6ada18b28b
47 changed files with 55 additions and 105749 deletions

View File

@@ -46,7 +46,7 @@ onMounted(loadChannelTree);
</script>
<template>
<div :class="$attrs.class">
<div class="h-[800px]" :class="$attrs.class">
<Skeleton
:loading="showTreeSkeleton"
:paragraph="{ rows: 8 }"
@@ -54,12 +54,12 @@ onMounted(loadChannelTree);
class="p-[8px]"
>
<div
class="bg-background flex h-full flex-col overflow-y-auto rounded-lg"
class="flex h-full flex-col overflow-y-auto rounded-lg"
>
<!-- 固定在顶部 必须加上bg-background背景色 否则会产生'穿透'效果 -->
<div
<divx
v-if="showSearch"
class="bg-background z-100 sticky left-0 top-0 p-[8px]"
class="z-100 sticky left-0 top-0 p-[8px]"
>
<InputSearch
v-model:value="searchValue"
@@ -72,7 +72,7 @@ onMounted(loadChannelTree);
</a-button>
</template>
</InputSearch>
</div>
</divx>
<div class="h-full overflow-x-hidden px-[8px]">
<Tree
v-bind="$attrs"