feat(components): Add routing data related to tree components and page display optimization

This commit is contained in:
small_happy
2023-04-02 10:45:51 +08:00
parent d203a3586c
commit a0f55aca69
6 changed files with 57 additions and 10 deletions

View File

@@ -189,7 +189,7 @@ function createSuffixData(level = 2, baseKey = ''): TreeOption[] | undefined {
key,
children: createSuffixData(level - 1, key),
suffix: () =>
h(NSpace, { justify: 'space-evenly' }, [
h(NSpace, { justify: 'space-evenly' }, () => [
h(NButton, { text: true, class: 'pt-1.5' }, { default: () => <icon-mdi-plus class="text-18px" /> }),
h(
NButton,