优化界面

This commit is contained in:
GoEdgeLab
2023-05-25 17:29:55 +08:00
parent d81774f6ee
commit 499bbfbfe8
7 changed files with 39 additions and 6 deletions

View File

@@ -58,7 +58,11 @@ func (this *ClusterHelper) BeforeAction(actionPtr actions.ActionWrapper) (goNext
}
var tabbar = actionutils.NewTabbar()
tabbar.Add("集群列表", "", "/clusters", "left arrow", false)
tabbar.Add("", "", "/clusters", "arrow left", false)
{
var item = tabbar.Add(cluster.Name, "", "/clusters/cluster?clusterId="+clusterIdString, "", true)
item["isTitle"] = true
}
if teaconst.IsPlus {
tabbar.Add("集群看板", "", "/clusters/cluster/boards?clusterId="+clusterIdString, "chart line area", selectedTabbar == "board")
}