[发布] 0.2.4 版本

This commit is contained in:
就眠儀式
2021-11-19 09:16:09 +08:00
parent 6baec91cdd
commit 2347a18beb
8 changed files with 95 additions and 104 deletions

View File

@@ -5,13 +5,13 @@ export default {
</script>
<script setup lang="ts">
import { StringOrNumber } from '/@src/module/tree/tree.type'
import { Nullable } from '/@src/module/type'
import { StringOrNumber } from './tree.type'
import { Nullable } from '../type'
import LayIcon from '../icon'
import LayCheckbox from '../checkbox'
import { Ref } from 'vue'
import { Tree } from '/@src/module/tree/tree'
import { Tree } from './tree'
type CustomKey = string | number
type CustomString = (() => string) | string

View File

@@ -14,8 +14,8 @@ export default {
<script lang="ts" setup>
import TreeNode from './TreeNode.vue'
import { computed } from 'vue'
import { useTree } from '/@src/module/tree/useTree'
import { TreeData } from '/@src/module/tree/tree'
import { useTree } from './useTree'
import { TreeData } from './tree'
type StringFn = () => string
type StringOrNumber = string | number

View File

@@ -1,5 +1,5 @@
import { OriginalTreeData, StringOrNumber } from '/@src/module/tree/tree.type'
import { Nullable } from '/@src/module/type'
import { OriginalTreeData, StringOrNumber } from './tree.type'
import { Nullable } from '../type'
import { Ref, ref } from 'vue'
type CustomKey = string | number

View File

@@ -1,6 +1,6 @@
import { TreeEmits, TreeProps } from '/@src/module/tree/tree.type'
import { TreeEmits, TreeProps } from './tree.type'
import { computed, ComputedRef, watch } from 'vue'
import { Tree, TreeData } from '/@src/module/tree/tree'
import { Tree, TreeData } from './tree'
export declare type UseTree = (
props: TreeProps,