Skip to content

Commit

Permalink
perf: asset tree css
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 committed Apr 16, 2024
1 parent c2f8fe4 commit 429d2fe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Tree/DataZTree/components/ZTree/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default {
let treeUrl
this.loading = true
if (refresh && this.treeSetting.treeUrl.indexOf('/perms/') !== -1 &&
this.treeSetting.treeUrl.indexOf('rebuild_tree') === -1
this.treeSetting.treeUrl.indexOf('rebuild_tree') === -1
) {
treeUrl = (this.treeSetting.treeUrl.indexOf('?') === -1)
? `${this.treeSetting.treeUrl}?rebuild_tree=1`
Expand Down Expand Up @@ -430,6 +430,13 @@ div.rMenu li {
background-color: transparent;
height: calc(100vh - 237px);
.level0 .node_name {
max-width: 100px;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
}
li {
background-color: transparent !important;
Expand Down

0 comments on commit 429d2fe

Please sign in to comment.