refactor(tree): 移注第一版tree的实现

This commit is contained in:
落小梅
2021-10-21 14:45:47 +08:00
parent 32252dba94
commit 01a479bc9a
4 changed files with 7 additions and 13 deletions

View File

@@ -134,9 +134,7 @@ function handleTitleClick(node: TreeData) {
</span>
</div>
</div>
<transition
name="move"
>
<transition name="move">
<div
v-if="node.isLeaf.value"
class="layui-tree-pack layui-tree-showLine"
@@ -155,5 +153,4 @@ function handleTitleClick(node: TreeData) {
</div>
</template>
<style scoped>
</style>
<style scoped></style>

View File

@@ -1,7 +1,4 @@
import {
OriginalTreeData,
StringOrNumber,
} from '/@src/module/tree/tree.type'
import { OriginalTreeData, StringOrNumber } from '/@src/module/tree/tree.type'
import { Nullable } from '/@src/module/type'
import { Ref, ref } from 'vue'