refactor(tree): 移注第一版tree的实现
This commit is contained in:
parent
32252dba94
commit
01a479bc9a
@ -214,7 +214,8 @@ const zhCN = [
|
||||
path: '/zh-CN/components/carousel',
|
||||
component: () => import('../../docs/zh-CN/components/carousel.md'),
|
||||
meta: { title: '轮播' },
|
||||
},{
|
||||
},
|
||||
{
|
||||
path: '/zh-CN/components/select',
|
||||
component: () => import('../../docs/zh-CN/components/select.md'),
|
||||
meta: { title: '下拉选择' },
|
||||
|
@ -1,11 +1,10 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'LayColorPicker'
|
||||
name: 'LayColorPicker',
|
||||
}
|
||||
</script>
|
||||
|
||||
<script lang="ts" setup>
|
||||
</script>
|
||||
<script lang="ts" setup></script>
|
||||
|
||||
<template>
|
||||
<pre>
|
||||
|
@ -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>
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user