mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 18:00:57 +08:00
fix(ui): some bugs
This commit is contained in:
@@ -139,9 +139,9 @@
|
||||
:normalizer="
|
||||
(node) => {
|
||||
return {
|
||||
id: String(node[0]),
|
||||
label: node[1].label || node[0],
|
||||
children: node.children,
|
||||
id: String(node[0] || ''),
|
||||
label: node[1] ? node[1].label || node[0] : node[0],
|
||||
children: node.children && node.children.length ? node.children : undefined,
|
||||
}
|
||||
}
|
||||
"
|
||||
|
@@ -118,6 +118,8 @@ export default {
|
||||
|
||||
.locale {
|
||||
cursor: pointer;
|
||||
padding: 0 8px;
|
||||
|
||||
&:hover {
|
||||
color: @primary-color;
|
||||
}
|
||||
@@ -135,6 +137,7 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 8px;
|
||||
|
||||
&-icon {
|
||||
font-size: 12px;
|
||||
|
Reference in New Issue
Block a user