perf: 优化资产树 root 节点宽度

This commit is contained in:
ibuler
2024-03-15 14:38:10 +08:00
parent f9cd35ac74
commit a68328ae83

View File

@@ -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)
}
},