refactor: tree component no node label
This commit is contained in:
parent
d8a6b346ab
commit
4ac31e3cb0
2 changed files with 5 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ defineEmits<{
|
||||||
:node-key="nodeKey"
|
:node-key="nodeKey"
|
||||||
:label-key="labelKey"
|
:label-key="labelKey"
|
||||||
:children-key="childrenKey"
|
:children-key="childrenKey"
|
||||||
|
:no-nodes-label="$t('general.noData')"
|
||||||
v-model:expanded="expandedTree"
|
v-model:expanded="expandedTree"
|
||||||
style="color: var(--foreground)"
|
style="color: var(--foreground)"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -133,3 +133,7 @@ div.fullscreen.q-drawer__backdrop {
|
||||||
.q-tree__node-header:before {
|
.q-tree__node-header:before {
|
||||||
top: -32px !important;
|
top: -32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.q-tree.q-tree--standard.text-transparent {
|
||||||
|
color: hsl(var(--text-mute)) !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue