style(TemplateTree): 优化树形组件样式和配置
调整树形组件的滚动行为和显示样式,增加分隔线和紧凑模式
This commit is contained in:
1 parent
e496aa59f4
commit
7bb9396c2a
1 file changed
+5
-2
@@ -3,15 +3,18 @@
|
||||
variant="outlined"
|
||||
class="pa-2"
|
||||
:height="height"
|
||||
style="overflow: auto;"
|
||||
>
|
||||
<v-treeview
|
||||
open-all
|
||||
:items="items"
|
||||
item-title="name"
|
||||
item-key="id"
|
||||
item-children="children"
|
||||
item-value="id"
|
||||
open-on-click
|
||||
:hoverable="true"
|
||||
:indent-lines="'default'"
|
||||
separate-roots
|
||||
density="compact"
|
||||
>
|
||||
<template #prepend="{ item }">
|
||||
<v-icon
|
||||
|
||||
Reference in new issue
Block a user