mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
Merge pull request #3785 from jumpserver/pr@v4@perf_asset_tree
perf: 优化资产树 root 节点宽度
This commit is contained in:
@@ -162,6 +162,7 @@ export default {
|
||||
</span>`
|
||||
if (rootNode) {
|
||||
const $rootNodeRef = $('#' + rootNode.tId + '_a')
|
||||
$rootNodeRef.css({ 'width': 'calc(100% - 68px)', 'overflow': 'hidden', 'text-overflow': 'ellipsis' })
|
||||
$rootNodeRef.after(icons)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user